Correction of archive event time stamps
- Last UpdatedOct 02, 2024
- 1 minute read
Offline archive processing with time transformation differs little from standard offline archive processing. All arguments, such as input file and output file, must be specified. Additional arguments specify time transformation behavior. The additional arguments are:
-tfix time_conversion_file [-tfixend time -oeendtime time]
The argument followed by full file specification is required. The arguments and are optional.
The first option, , followed by a time stamp specifies the time to perform no transformations. All events with time stamps greater than or equal to this time are not transformed.
This option is used when only a portion of the archive has incorrect event time stamps. For example, if a PI System was run for a period with incorrect system clock setting, then the clock was set correctly and run for some period before applying a time transformation fix.
The second option, , followed by a time stamp specifies a time stamp to set as the archive end time when conversion is complete. The archive end time is set to the passed value if all events are older than this time; otherwise, the end time is set to the time of the oldest archive event.