Ask our Experts
Didn't find what you are looking for? Ask our experts!
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-21 10:37 AM
I would like to modify the name of the recipe from a string variable
to begin I tried _RecipeControlDefault.RecipeLabel.write(MyString) but it didn't work
can someone help me?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-25 01:40 AM
Hi @jejer6 ,
You can try the following code to change the recipe label on runtime using script:
boolean _xAux;
String NewLabel = "MyRecipe";
_xAux = RecipeControl.setLabel(NewLabel);
Best regards,
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-25 03:24 AM
I tried it before but same result
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.