Using Recipes in Runtime
10-10 Using Recipes in Runtime
10-10-1 Recipe Viewer
160
Recipe: Coffee(British)
Description: Makes weak, washy, British style coffee.
Access Level: All Users
Ingredient
Point
milk(ml)
milk
coffee(g)
coffee
sugar
sugar
water(ml)
water
Recipes defined using the Recipe Editor in the development environment can
be accessed in runtime using the Recipe Viewer. Recipes may be downloaded
using the Recipe Viewer.
The Recipe Viewer can be displayed in one of two ways in the runtime
environment. It may be displayed by any CX-Supervisor script code attached,
for example, to a button. The function call is simply 'DisplayRecipes()'.
The Recipe Viewer may also be displayed using the floating menu. The
floating menu needs to be configured to display the Recipes option. This is
done in the development environment and explained in chapter 6, Projects.
The Recipes dialog box opens:
The Recipe Viewer is similar to the Recipe Editor, however there are some
differences in functionality and appearance:
To remove an existing recipe, highlight the recipe from the recipe list and click
the
button. A confirmation dialog box opens. Click the Yes button to
remove the definition, or the No button to abort the delete operation. Note that
recipes created in the development environment may not be deleted in the
runtime environment. The delete operation only affects recipes copied and
saved in the runtime environment.
To modify an existing recipe, highlight the recipe from the recipe list and click
the
button. The Modify Recipe dialog box opens:
SECTION 10 Recipes
Expression
Editable
50
Yes
3
Yes
0
Yes
250
Yes