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

Data Archive Reference

Send a digital state to the snapshot database

  • Last UpdatedJan 13, 2023
  • 1 minute read

This procedure shows how to send a digital state Value to the snapshot to verify that the new tag you have created can retrieve the value.

  1. Select the snapshot table:

    (Ls - ) piconfig> @table pisnap

  2. Prepare for writing:

    (Ls - PISNAP) piconfig> @mode edit

  3. Specify the input data format:

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

  4. Specify the data (set timestamp to *, which indicates that the current time should be used):

    (Ed - PISNAP) piconfig> ValveStateTag, *, Open

  5. List the snapshot entry and verify that it was properly updated:

    Ed - PISNAP) piconfig> @mode list
    (Ls - PISNAP) piconfig> @ostructure tag, time, value

  6. Select only those tags that start with “V:”

    (Ls - PISNAP) piconfig> @select tag=V*

  7. Start processing:

    (Ls - PISNAP) piconfig> @endsection
    ValveStateTag, 26-SEP-03 15:45:32, Open

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