Expression Update Event
Expression Update triggers a procedure or calls a script when the value of the expression changes.
Field | Description | ||||
---|---|---|---|---|---|
A | Expression | One or more Point IDs and mathematical operators that can be evaluated. | |||
B | Action | Contains a drop-down list of existing procedures and scripts. Use either of the following. | |||
Procedure | |||||
Script | |||||
C | Parameter | Can be used if the event invokes a script directly or through a procedure. The default code begins as follows. Sub OnExpressionUpdate(exprValue As Variant) Where parameters are: | |||
exprValue | |||||
D | Debounce event | Check | |||
Clear | |||||
Note: When debouncing is enabled, the event/action queue is always processed one action at a time; the current action must be completed before the next action can start.
This makes the queue's event/action sequencing predictable and avoids situations where many events could trigger actions and consume unacceptable levels of CPU and memory.
|