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

PI Builder (PI Server 2024 R2)

Create digital states

  • Last UpdatedJan 11, 2023
  • 2 minute read

Before you create digital states, you need to Specify a Data Archive server.

With PI Builder, you can enter the specification for new digital state sets and digital states in a Microsoft Excel worksheet, and then publish the worksheet to Data Archive to create the digital states sets and digital states. With the auto-fill features in Excel, you can easily create multiple digital state sets with similar specifications.

  1. Add columns to the worksheet for digital state sets.

    See Set column headers in a worksheet. Do not include the UniqueID column. Data Archive automatically generates a value when creating new digital state sets.

    Note: To base new digital state sets on existing digital state sets, retrieve those existing digital state sets into your worksheet, and then change the names.

  2. Specify the values for the new digital state sets and digital states.

    • To create a new digital state set, specify a row in the worksheet with the ObjectType column set to DigitalStateSet and the Name column set to the name of the digital state set.

    • To create new digital state for a digital state set, specify a row in the worksheet with the following values set:

      Column

      Value

      Parent

      Name of digital state set

      Name

      Text that identifies the state

      ObjectType

      DigitalState

      Value

      Unique integer for the digital state set. Values must be sequential integers, starting with 0.

  3. Set the Selected(x) column to X for any digital state set or digital state that you want to create.

  4. Publish the new digital state sets and digital states to Data Archive:

    1. Click Publish to open the Publish Options window.

    2. From the Edit Mode list, select Create Only.

      With this choice, PI Builder will only create new digital states and digital state sets. If digital state or digital state set already exists with the same name, PI Builder generates an error. You can also select Create and Edit; then, PI Builder will edit existing digital states and create any digital states that do not already exist.

    3. Click OK.

      PI Builder creates the digital state sets and digital states in Data Archive. The Publish Selected Objects window shows the operations completed.

    4. Click Close.

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