Host Event Expression Editor

To open this dialog box, click the Edit button when the WaitForMultipleEvents command is selected in the Operation Edit dialog box.

Note:The events described here are used to synchronize the Host Integrator server with the state of the host application. These host synchronization events should be distinguished from event handlers, which perform or extend actions in the model file itself.

Use the Host Event Expression Editor dialog box to string together several events into one WaitForMultipleEvents command using the following event operand buttons:

Button Description
And Use And to conjoin two events to create a conditional event that is not satisfied until both events have occurred.
Or Use Or to conjoin two events to create a conditional event that is not satisfied until at least one of the two events has occurred.
; Use ; to sequentially separate one event from the next.
( ) Use ( ) to group or combine events.

For example, if the following three global events are listed as follows:

Events Descriptions
EventA WaitForCommString "\033EnterData"
EventB WaitForCursorEnterPosition 5, 10
EventC WaitForCursorExitPosition 24, 2

You could then select one or more of the above events to formulate the following WaitForMultipleEvents command using the event operand buttons And, Or, ;, (, and ):

WaitForMultipleEvents "EventA and (EventB or EventC)", "30"

This means that Host Integrator will wait for EventA, followed by either EventB or EventC. If this series of events is not satisfied within the 30 second timeout period, an error will occur. It does not matter whether these events occur is a single host packet or across any number of multiple packets.

The following buttons are also available:

OK—Click to save the event string and return to the Operation Edit dialog box.

Cancel—Click to close this dialog box without saving any changes.

Help—Click to view the online help for this dialog box.

Clear—Click to clear out the contents of the Event box.

Revert—Click to restore the previously saved event.

Validate—Click to perform syntax checking of the expression.

Event Edit—Click to close this dialog box and open the Host Event Edit dialog box.