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

Analytics and Notifications for PI System Explorer (PI Server 2018)

DigText

  • Last UpdatedJan 11, 2023
  • 1 minute read

Obtain the text corresponding to the digital state.

Syntax

DigText(digstate)

Arguments

  • digstate

    An argument that evaluates to a digital state

Returns

The text for the digital state

Exceptions

Returns an error if the argument is not a digital state

Example

  • DigText(TagVal('enum_att1', 'y'))

    [Returns the digital state value in string]

  • DigText('enum_att1')

    [Returns digital state value in string. Returns an error message if 'enum_att1' is not a PI point attribute with digital state value]

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