70
The “Output Value” may be set to a constant, such as
Hello
or
5
, or an expression, such as
1
. If the “(expression)” check box is UNCHECKED, the value will be interpreted as a
constant of the same type as the Variable.
If the “(expression)” check box is CHECKED, the “Output to” Variable will be assigned the value
calculated for the expression in the “Output Value” text box. The Variable’s type is not changed by the
assignment. Prior to assigning the result of the expression to the Variable, the result is converted to the
Variable’s type, e.g. a number. The interpretation and calculation of expressions are detailed in the
Expressions section.
Serial
A Serial Action allows you to send a string to a specified port. If the “(expression)” check box is
UNCHECKED, the value in the “Output Value” text box will be sent as a string to the specified port.
If the “(expression)” check box is CHECKED, the expression in the “Output Value” text box will first be
interpreted as described in the Expressions section and the resulting string value will then be sent to the
specified port. If the result of the expression is a number, then it will be converted to a string prior to
being sent out the serial port.
Event
An Event can fire Actions that trigger or cancel other Events. An Event Action allows you to specify the
Events to “execute” or “cancel”. Executing an Event means that if the Action’s Event is not already
running at the time the Event Action is called, the Action’s Event will then be triggered, and any
associated Actions will be fired. Canceling an Event will stop the running of any Actions associated with
the Event, then un-trigger the Event.