Monitors, Monitor

A Monitor action type may contain multiple monitor definition blocks, configured within the Monitors Definitions block. Each Definitions block contains one or more Conditions and one or more Actions. In the XML configuration these actions are specified in the <Monitors>, <Conditions> and <Actions> elements.

To learn about how these elements relate to other elements in a well test configuration XML structure, see Well Test Hierarchy.

Example

<Action type="Monitor" timeout="0" sleeptime="5000">

<Monitors>

<Monitor>

<Conditions>

<Condition operator="=" value1="1" value1relativeFacilityLink="" value1type="Self" value2="PONEWTST" value2relativeFacilityLink="Separator" value2type="UDC" />

</Conditions>

<Actions>

<Action type="SetPoint" udc="MSG" relativeFacilityLink="Separator" valueType="Text" attribute="" value="Monitor 1" />

</Actions>

</Monitor>

<Monitor>

<Conditions>

<Condition operator="=" value1="2" value1relativeFacilityLink="" value1type="Self" value2="PONEWTST" value2relativeFacilityLink="Separator" value2type="UDC" />

</Conditions>

<Actions>

<Action type="SetPoint" udc="MSG" relativeFacilityLink="Separator" valueType="Text" attribute="" value="Monitor 2" />

</Actions>

</Monitor>

</Monitors>

</Action>

 

Monitors

The <Monitors> element has one type of child element, <Monitor>, and has no attributes.

Monitors Properties

The <Monitors> element has the following properties:

Property Description

Case Sensitive

Yes

Required

Yes

Number of Instances Allowed

1

Parent Element

<Action>

Child Elements

<Monitor>

Attributes

None

Monitor

A <Monitors> element has one or more defined <Monitor> child elements. Each <Monitor> block contains a <Conditions> element and an <Actions> element. These sections contain one or more of each type (<Condition> and/or <Action>).

Monitor Properties

The <Monitors> element has the following properties:

Property Description

Case Sensitive

Yes

Required

Yes

Number of Instances Allowed

Unlimited

Parent Element

<Monitors>

Child Elements

Attributes

None

Monitor Attributes

The <Monitor> element has no attributes.

Example

<Action type="Monitor" timeout="0" sleeptime="5000">

<Monitors>

<Monitor>

<Conditions>

<Condition operator="=" value1="1" value1relativeFacilityLink="" value1type="Self" value2="PONEWTST" value2relativeFacilityLink="Separator" value2type="UDC" />

</Conditions>

<Actions>

<Action type="SetPoint" udc="MSG" relativeFacilityLink="Separator" valueType="Text" attribute="" value="Monitor 1" />

</Actions>

</Monitor>

<Monitor>

<Conditions>

<Condition operator="=" value1="2" value1relativeFacilityLink="" value1type="Self" value2="PONEWTST" value2relativeFacilityLink="Separator" value2type="UDC" />

</Conditions>

<Actions>

<Action type="SetPoint" udc="MSG" relativeFacilityLink="Separator" valueType="Text" attribute="" value="Monitor 2" />

</Actions>

</Monitor>

</Monitors>

</Action>

Back to top