Manage archive gaps
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Note: Use this procedure for historical archives only, not for future archives.
An archive gap is a range of time when no archive file is registered. If an event is sent to the archive and no archive file is registered within the appropriate time range, the event is discarded and an error is logged. If data retrieval is attempted for a time range that overlaps with a gap, the returned data includes a digital state Arc Offline that indicates the beginning of the gap. This prevents values from being interpolated when data is missing.
Generally, PI archive files account for all of history with no gaps or overlaps. If an unintentional gap between archive files occurs, you can use PI SMT or the pidiag tool to fix the gap. Until the gap has been fixed, data cannot be collected and stored in the time range in the gap.
-
Select Start > PI System Management Tools > Operation > Archives.
All the archives registered on the selected Data Archive server are listed. Any archive gaps are labeled and highlighted in red.
-
Right-click the line displaying the archive gap and select Create New.
The Create New Archive dialog box appears. The dialog box is already populated with the correct start and end times to fill the archive gap.
-
Click OK.
The new archive is created and registered, and an archive gap no longer appears in the archive list.