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

PI System Management Tools

Add digital states to a set

  • Last UpdatedFeb 18, 2025
  • 1 minute read

When you add a digital state to a digital state set, a numeric digital code is assigned by Data Archive, according to the position of the digital state string in the Digital State table. The first value is 0, the second is 1; the third is 2, and so on. The digital code is the value used, typically by an interface, to write the digital state value; that value is translated to the state when it is read by a client such as ProcessBook. This is called digcode in PI API.

PI System Management Tools window displaying a digital state set with assigned numeric codes, mapping values like Red, Yellow, and Green.

To add digital states to a digital state set:

  1. Select the digital state set in the Digital States tool.

  2. Enter a name for the digital state.

  3. Press Enter.

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