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

Data Archive Reference

Modify a digital state set

  • Last UpdatedJan 13, 2023
  • 1 minute read

If you want to modify an existing digital state set by adding a state, deleting a state, or renaming a state, you must specify all of the states in the state set. Individual states cannot be edited.

Note: For sets with more than a few states it is advisable to use an output file, edit the file, and then use it as the input file. The state set must be added or edited as a whole.

This procedure shows how to add another state to the ValveStateSet.

  1. Select the digital state table:

    (Ls - PIDS) piconfig> @table pids

  2. Prepare to write to the table:

    (Ls - PIDS) piconfig> @mode edit

  3. Specify an input data format that consists of a digital state set name followed by any number of states in the set:

    (Ed - PIDS) piconfig> @istructure set, state, ...

  4. Input data (with no commands):

    (Ed - PIDS) piconfig> ValveStateSet, Open, Closed, Stuck

  5. List the new state set in order to verify that it was properly created:

    (Ed - PIDS) piconfig> @mode list
    (Ls - PIDS) piconfig> @ostructure set, state, ...

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

    (Ls - PIDS) piconfig> @select set=V*

  7. Start processing:

    Ls - PIDS) piconfig> @endsection
    VALVESTATESET,Open,Closed,Stuck
    (Ls - PIDS) piconfig>

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