Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

RecipeSelectRecipe() function

  • Last UpdatedJun 17, 2024
  • 1 minute read

The RecipeSelectRecipe() function opens the Select a Recipe dialog box so that the run-time user can select a recipe. The selected recipe name is returned to a message tag.

Category

Recipe

Syntax

RecipeSelectRecipe("Filename","RecipeName", Number);

Arguments

FileName

Name of the recipe template file. The FileName argument can be a string constant or a message tag containing the name of the recipe template file.

RecipeName

Message tag to which the name of the selected recipe is written. Actual message tag without quotation marks or a string literal.

Number

Maximum string length returned to the argument. InTouch message tags have a maximum length of 131 characters. Use 131 for this parameter unless you have reduced the maximum string length of the InTouch tag. Number or Integer tag.

Example

The following statement causes the Select a Recipe dialog box to open:

RecipeSelectRecipe("c:\recipe\recfile.csv", RecipeName, 131);

After a recipe is selected from the dialog box, its name is returned to the RecipeName tag.

TitleResults for “How to create a CRG?”Also Available in