Offline archive utility processing
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
During processing, the offline archive utility makes two passes through the input archive file:
-
On the first pass, the utility:
-
Finds every record that contains valid data within the specified time range, and adds them to a sorted list.
-
If required, converts point IDs using the specified conversion table.
-
Issues an error message for every record that does not have a corresponding point in the local Data Archive server. You can suppress these messages, if desired.
-
-
During the second pass, the utility:
-
Creates the output archive file, if it does not already exist, and initializes the archive header based on command-line specifications.
-
Filters or modifies the input data, if necessary, and writes all records from the sorted list to the output file.
-
The offline archive utility displays statistics approximately every five seconds, at the end of the first pass, and at the end of the second pass.