Update of Manual Logger elements in an export/import XML file
- Last UpdatedNov 22, 2022
- 1 minute read
- PI System
- PI Manual Logger 2017 R2
- Visualization
The value of any field in an XML file can be updated so that it replaces the value in an existing tour configuration after the file is imported or exported. Any field in an XML file that contains only a blank space indicates that particular field in a tour configuration will be cleared.
Field value update
The following XML excerpt demonstrates how the values (barcode) and have been updated for Tag Pump P250 Temp:
<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>
Field value removal
The following XML excerpt demonstrates how to remove the clock scheduling and CMDE tour configuration from the existing tag :
<PITag SelectX="x" Operation="CreateOrUpdate">
<Sequence>2</Sequence>
<Tag>Pump P250 Vibrations</Tag>
<GroupName>North Site</GroupName>
<TourName>Pump and Vibrations</TourName>
<TagClockSchedule></TagClockSchedule>
<TagClockScheduleName></TagClockScheduleName>
<TagCMDE></TagCMDE>
</PITag>
Note the blank space between the , , and tags.