PI Archive Subsystem
- Last UpdatedOct 02, 2024
- 1 minute read
Run the piartool –al (archive listing), piartool –as (archive statistics), and pisnap commands to test PI Archive Subsystem. If PI Archive Subsystem (piarchss) is not working correctly, you will see:
C:\PI\adm>piartool -al
Getarchivefilelist Failed: [-10733] PINET: RPC Resolver is Off-Line.
C:\PI\adm>piartool -as
Getarcmemtablestatistics Failed: [-10733] PINET: RPC Resolver is Off-Line.
C:\PI\adm>pisnap
C:\PI\adm>apisnap localhost:5450
PI-API version 1.6.1.5
Attempting connection to localhost:5450
Enter tagname: sinusoid
Error: piar_getarcvaluex -10733
Error: piar_getarcvaluesx 100
Tag = SINUSOID Point Number = 1 Type = Real-32
12 Hour Sine Wave
Snapshot value
Value = ERROR ERROR
Status = ERROR
Latest archive value
Value = ERROR ERROR
Status = ERROR
Archive events are queued when PI Archive Subsystem is not operating correctly. Use the piartool -qs command to view the event queue count.