Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Feature Description

Recipes are a way to have save preset parameters saved for tag values and are able to can be changed to those presets during runtime. Users can create new Recipes with a similar or completely different present. Recipes allow for the ease of management of managing multiple tags that will be required to be changed all at once, which can make the process of setting up multiple tag values to be changed at once a lot easier. Sending a recipe will have the recipe parameters saved to each tag specified. Receiving a recipe will save the current tag value in the recipe and can allow for those same values to be called back during runtime.

Designer Functionalities

Recipe Editor

The Recipe Editor is where users can add new recipes. Users are able to can create new Recipes, edit those recipes, and also delete them. Users can also import CSV and Export export CSV files as well to bring in an already-created Recipe recipe into the project. Users can also edit the parameter bindings and also add and delete records within the Recipe as well. Within a recipe, users recipe. Users can also edit the parameters for each Record, record within a recipe and change the value within the record itself.

Add / Edit Recipe Database

Clicking the + icon on the Recipe Editor will open a popup window to create a new Recipe Database. Here, the user can set the name of the Recipe, and also recipe's name and what tag the Record ID will be tagged to. Having this will allow the user to easily navigate the recipe index of the Recipeeasily. The user has the option to enable Handshake as well. Handshake is used to verify the communication status while recipe data is being transferred. This option is off by default. If it is active, it is not recommended to use using any of the tags is not recommended because it is still communicating the new data.

This menu will also open if the user clicks the Edit Recipe button as well. Users are allowed to edit the name of the Recipe Database's name, change the Tag for the Record ID's Tag, and enable or disable Handshake as well. These changes will automatically be saved and will be applied immediately the moment when the change is confirmed.

Back to Top of Recipes

Parameter Bindings

The Parameter Bindings are what tie a parameter to a specific Tag. This is how the user will specify what tags will be changed when a recipe is received. Users will be able to can set the Tag for each parameter, create a new parameter, delete one, or move one up or down the list of current parameters.

Back to Top of Recipes

Runtime Functionalities

Recipe Recieve and Send

Recipes are able to can receive and send data to tags with commands. Recipes have Action Commands action commands that will allow the user users to interact with the Recipe recipe list during runtime. Sending a Recipe will set the tag values to whatever is saved within the Recipe itselfrecipe. Receiving a Recipe will save keep the current tag values within the Reciperecipe, which can be called upon later within the runtime.

Back to Top of Recipes

Recipe CSV Exportation and Importation

The user can export and import recipe data to and from a CSV for record keeping. The user can transfer data to a separate device via USB, SD card, or File Transfer Protocol (FTP), or to local memory* on Linux Xpanel.

A CSV file can be created in two ways: creating a command set to Export Recipe CSV or creating a script that calls the following function: exportCsv(string recipe, Storage type, string path). The user can specify the storage location recipe and path to the CSV.

A CSV file can be imported in two ways: creating a command set to Import Recipe CSV or creating a script that calls the following function: importCsv(string recipe, Storage type, string path). The user can specify the storage location, a recipe, and a path to the CSV.

An example of what the CSV file would look like after generation is shown on the far right:

Info

Disclaimer: CIMON recommends exclusively using a USB or SD card for storage types. Saved CSV files to local memory are only accessible through an SSH connection.