Using Recipe Management with the Curve Editor
The curve editor config is a list of curve profiles. This profile list can be stored in a recipe.
Following steps can enable using TcHmiRecipeManagenet server extension with the curve editor to store configuration in a recipe.
- 1. Create a server symbol, which will be used as the source of the editor profiles list for the controller. Each curve editor control will require one symbol of the type CurveEditorConfigList.
![]() | Loss of data due to server restart. It is recommended to make server symbol that store CurveEditor config ‘Persistent’ in order to preserve config in case of server restart. |
- 2. Add this server symbol to a recipe type. It can be an individual recipe type or grouped with other symbols in the product recipe type.
- 3. Use this server symbol as the configuration symbol for the Editor Profiles property. Having two-way binding is the easiest way to update the symbol if there is any change in the configuration list.
- 4. With two-way binding, the server symbol will be updated on every change. And the recipe teach function can be called on .onUserConfigActivated event.