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

PI System Management Tools

IsSet (Tag-based PE function)

  • Last UpdatedOct 04, 2024
  • 1 minute read

Determine if a PI value is annotated, substituted, or questionable.

Syntax

IsSet(x, select)

Arguments

x

Any value. May be an integer, real number, digital state, or character string.

select

A string but only the first character is considered. "a" for annotated; "s" for substituted; and "q" for questionable. It is case-insensitive.

Returns

1 if true and 0 otherwise.

Exceptions

None.

Example

IsSet('sinusoid', "a")

IsSet('sinusoid', "annotated")

IsSet('sinusoid', "annotatted is mispelled")

IsSet('stringtag',"annotatiiion is mispelled but it does not matter.")

IsSet('stringtag',"A")

IsSet('alarmtag1',"q")

IsSet('stringtag',"s")

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