Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Manual Logger

Group element

  • Last UpdatedNov 22, 2022
  • 2 minute read

Root level Group elements are referenced by their name without any separators. Sub-groups are referenced with ‘\’ or ‘/’ as separators.

If referenced by a PITag element, the Group element does not need to be defined and is created automatically. However, if additional configurations, such as Barcode (referenced as GroupScanCode in the XSD file), Comment Tag, Collection Scheduling, Conditional Specifications, or Group Sequencing need to be defined, then a Group element should be created within the XML file.

At a minimum, the following attributes and fields must be defined for the Group element:

  • SelectX

  • Operation

  • GroupName

  • TourName

The following example illustrates how to create a group and reference it within a PITag element.

<PITag SelectX="x" Operation="CreateOrUpdate">
<Sequence>1</Sequence>
<Tag>Pump P250 Vibrations</Tag>
<GroupName>North Site/Pump P250</GroupName>
<TourName>Pump and Vibrations</TourName>
</PITag>
<PITag SelectX="x" Operation="CreateOrUpdate">
<Sequence>2</Sequence>
<Tag>Pump P250 Temp</Tag>
<GroupName>North Site/Pump P250</GroupName>
<TourName>Pump and Vibrations</TourName>
<TagScanCode>12345</TagScanCode>
<OperatorInstructions>If the value is less than 120 degrees F, be sure and follow the special procedures.</OperatorInstructions>
</PITag>
<PITag SelectX="x" Operation="CreateOrUpdate">
<Sequence>3</Sequence>
<Tag>Pump P250-I Vibrations</Tag>
<GroupName>North Site/Pump P250-I</GroupName>
<TourName>Pump and Vibrations</TourName>
</PITag>
<PITag SelectX="x" Operation="CreateOrUpdate">
<Sequence>4</Sequence>
<Tag>Pump P250-I Temp</Tag>
<GroupName>North Site/Pump P250-I</GroupName>
<TourName>Pump and Vibrations</TourName>
</PITag>
<Group SelectX="x" Operation="CreateOrUpdate">
<GroupName>North Site</GroupName>
<Sequence>1</Sequence>
<TourName>Pump and Vibrations</TourName>
<GroupScanCode>510010</GroupScanCode>

<GroupCMDE>if( CurrentValue("Pump P250 Temp") = DigCode("Unit Down"), Skip(), CollectNow())</GroupCMDE>
</Group>
<Group SelectX="x" Operation="CreateOrUpdate">
<GroupName>North Site/Pump P250</GroupName>
<Sequence>2</Sequence>
<TourName>Pump and Vibrations</TourName>
</Group>
<Group SelectX="x" Operation="CreateOrUpdate">
<GroupName>North Site/Pump P250-I</GroupName>
<Sequence>3</Sequence>
<TourName>Pump and Vibrations</TourName>

In the example above, assuming the Tour element is defined in the XML file as well, the following group hierarchy is created with associated tags.

Sample Group Hierarchy Created from Group Element

TitleResults for “How to create a CRG?”Also Available in