76
Variables
Variables are used to store information that can be retrieved or acted upon by the Event Manager, or by
calls to RPC functions (see
Variable Methods
, page
167
). You can create Variables that hold temporary
data, or configure them to keep their value even when the WACI is reset. You can also use Variables to
store data to be used by your own Web interface or Flash application stored on the WACI. Use the RPC
calls to access the Variables within Flash, or VB Script to access them within an HTML page.
Variables are created independently of Events or Actions, and any Variable may be used in any Event or
Action; however, a Variable may not be deleted until it is cleared from all the Events or Actions that use
it.
Creating and Editing Variables
Creating and Editing Variables
Creating and Editing Variables
Creating and Editing Variables
Variables may be created from the main Event Manager web page (see
The Event Manager Web Page
,
page
61
) by selecting the “Add variable” button. To edit an existing Variable, first select it so that it is
highlighted, then select the “Edit” button above the list of Variables. The “edit variable” screen allows
you to specify options and values for a Variable.
Some options for Variables will differ by the type of Variable. The options common to all Variables are
Persistence, Default Value, and Current Value.
Group Name
Use the Group field to help organize Variables into meaningful groups. Enter any text into this field. On
the main Event Manager page, click on the Group label at the top of the Variable list to sort the Variables
by their Group name.
Persistence
When the persistence flag (“Persist” check box) is set, the “Current value” of the Variable will be stored
to permanent storage whenever it is changed. This value will persist through a system reset or power
failure, so the Default Value is not used when the “Persist” check box is CHECKED.