Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Data Archive Reference

Add events to the data archive using the snapshot table

Add events to the data archive using the snapshot table

  • Last UpdatedJan 13, 2023
  • 1 minute read

Though interfaces normally add events—also known as value/time pairs—to Data Archive, you may want to use the snapshot table to add events to the archive for testing purposes. The snapshot contains the most recent event for each tag. If you add an event to a tag in the snapshot table, the previous event is archived if it passes the compression tests. Events with timestamps earlier than the current snapshot timestamp bypass the snapshot table and are sent directly to the archive. You can only view the most recent event in the snapshot table.

The tag name, time stamp, and value must all be specified. The time can be in any of the valid PI time formats specified in the

System Management Guide

.

  • Select the snapshot table and prepare for editing.

    (Ls - ) piconfig> @table pisnap
    (Ls - PISNAP) piconfig> @mode edit

  • Specify the format of the input data.

    (Ed - PISNAP) piconfig> @istruc tag, time, value

  • The following lines are input data.

    RealTag, 13-Aug-03 10:00, 3.81
    RealTag, 13-Aug-03 10:05, 2.45
    IntTag, *, 5
    DigTag, T+8h, CLOSED

TitleResults for “How to create a CRG?”Also Available in