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

Data Archive Reference

Add a digital state set using piconfig

  • Last UpdatedJan 13, 2023
  • 1 minute read

To add a digital state set to the digital state table, use piconfig as shown in this example:

  1. Select the digital state table.

    (Ls - PIDS) piconfig> @table pids

  2. Prepare to write to the table.

    (Ls - PIDS) piconfig> @mode create

  3. Specify an input data format of a digital state set name followed by any number of states in the set. Follow this with a data line.

    (Cr - PIDS) piconfig> @istructure set, state, ...
    (Cr - PIDS) piconfig> ValveStateSet, Open, Closed

  4. List the new state set in order to verify that it was properly created. Select only those sets that start with “V.” Use an endsection command to force processing:

    (Cr - PIDS) piconfig> @mode list
    (Ls - PIDS) piconfig> @ostructure set, state, ...
    (Ls - PIDS) piconfig> @select set=V*
    (Ls - PIDS) piconfig> @endsection
    VALVESTATESET,Open,Closed
    (Ls - PIDS) piconfig>

    Note: The endsection command is not needed when creating the state set because data lines are processed as they are entered.

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