DigText (Tag-based PE function)
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
Obtain the text corresponding to the current digital state of a point.
Syntax
DigText(tagname)
Arguments
tagname
A tagname that represents a digital state variable.
Returns
The text for the digital state.
Exceptions
If the argument is not a digital state tagname, an error condition is returned.
Example
DigText('alarmtag')
DigText('cdm158' )
DigText('nondigitaltag') would not compile and returns an error message