RecipeLoad() function
- Last UpdatedJun 17, 2024
- 1 minute read
The RecipeLoad() function loads data from a recipe to a specific unit of tags in an InTouch application.
Category
Recipe
Syntax
RecipeLoad("Filename","UnitName","RecipeName");
Arguments
FileName
Name of the recipe template file. The value associated with FileName can be a string constant or a message tag containing the name of the recipe template file.
UnitName
Name of the specific unit in the designated recipe template file. The RecipeSelectUnit() function returns a value to this parameter. The value associated with UnitName can be a string constant or a message tag that contains the name of the unit.
RecipeName
Name of the specific recipe in the designated recipe template file. The value associated with RecipeName can be a string constant or a message tag that contains the name of the recipe.
Example
The following statement loads the values of the Recipe1 recipe to the tags defined for Unit:
RecipeLoad("c:\recipe\recfile.csv", "Unit1", "Recipe1");