SleepTimerActions
The Monitor or Test action types support the configuration of sleep time action(s) to specify how long the Test or Monitor action type will "sleep" before updating the actual timeout value and evaluating the conditional expression. The sleep timeout will pause execution of the header before waking up to perform operations of the action. If any actions are specified for the Sleep time actions, then for every sleeptime timeout specified, those actions will be executed. For example, wait five seconds and then poll the device. If you specify a large Sleep Timeout, any attempts to exit the action would be delayed until the Sleep Timeout expires.
In the XML configuration these conditional actions are specified in the <SleepTimerActions> element.
Note: An independent timer (500 ms) is available to use with the Monitor and Test actions instead of using the defined Sleep Timeout. The system will check to see if it’s time to process the actions operations or exit the command (based on the configured Sleep Timeout).
To learn about how these elements relate to other elements in a well test configuration XML structure, see Well Test Hierarchy.
Example
|
<Action type="Test" timeoutValue="TMWTTGT" timeoutValueType="UDC" timeoutValueUpdate="True" timeoutRelativeFacilityLink="" timeoutActualUdc="TMWTACT" udc="POMSV" operator="=" value="1000" conditionRelativeFacilityLink="Separator" sleeptime="5000"> <SleepTimerActions> <Action type="UisCommand" command="POLL" relativeFacilityLink="Separator" statusUDC="SYCMDSTAT"> <Parameters /> </Action> </SleepTimerActions> </Action>
<Action …> <SleepTimerActions> <Action type="UisCommand" command="POLL" relativeFacilityLink="Separator" statusUDC="SYCMDSTAT" /> <Action type="PointValueCompare" operator="<>" value1="POMSV" value1type="UDC" value1relativeFacilityLink="Separator" value2="1" value2type="SELF" value2relativeFacilityLink=""> <TrueAction> <!-- Position moved...need to stop test - and alarm out--> <Action type="Exit" udc="MSG" relativeFacilityLink="Separator" valueType="Text" attribute="" value="Position Moved" /> </TrueAction> <FalseAction> </FalseAction> </Action> </SleepTimerActions> </Action> |
Properties
The <SleepTimerActions> element has the following properties:
| Property | Description |
|---|---|
|
Case Sensitive |
Yes |
|
Required |
Yes |
|
Number of Instances Allowed |
1 |
|
Parent Element |
<Action> |
|
Child Elements |
<Action> |
|
Attributes |
None |
Attributes
The <SleepTimerActions> element has no attributes.


