Please enable JavaScript to view this site.

ESL Documentation

Prototype

subroutine EcsWatchForIIOff(integer:SettleTime, string:WatchCommandString)

Description

Appends a command for watching the Operator Information Area until the Input Inhibited indicator or X remains off for the period of time specified by the input variable. The watch command may be used later in the processing with either the EcsWatch or the EcsWatchAndWait.

Parameters

SettleTime

Input

The number of milliseconds the input inhibited indicator must remain off. (1000 milliseconds = 1 Second)

WatchCommandString

Output

The string that will contain the instructions.

Return Value

N/A

Example

###**************************************

###  Actions to watch for Input Inhibitor

###**************************************

action WatchInhibitor is

    call EcsClearWatch ( EcsWatchCommandString )

    copy value of SettleTime_SB to SettleTime_IV

    call EcsWatchForIIOff ( SettleTime_IV, EcsWatchCommandString )

    call EcsWatchAndWait ( EcsTimeLimit, EcsWatchCommandString )