Export/import XML schema file
- Last UpdatedNov 22, 2022
- 1 minute read
- PI System
- PI Manual Logger 2017 R2
- Visualization
Imported tour data must adhere to the OSIsoft.PIML.xsd schema file, which is available in \PIPC\PIMLWindows. Tour data exported from PI Manual Logger also adheres to this schema.
The schema file contains four core elements:
-
-
-
-
Note: PI tags must exist in the connected PI Data Archive prior to Import.
Two attributes work with these elements:
SelectX
The PI Manual Logger element must be selected to be imported, otherwise it will be ignored. To do this, give the attribute a value of "x", for example:
<PITag SelectX="x" Operation="CreateOrUpdate">
Operation
Two types of operations are supported on the main PI Manual Logger elements (for example, , , and ):
For , the object is created if it does not exist within the PI Manual Logger database. If it already exists, then it is updated. The can only be created for a newly configured tour or updated on an existing tour, for example:
<Group SelectX="x" Operation="CreateOrUpdate">
<PITag SelectX="x" Operation="Delete">