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

AVEVA™ Plant SCADA

TrnGetGatedValue

  • Last UpdatedJul 18, 2023
  • 1 minute read

Returns the internally stored value for <GATED>. If the internally stored value changes in the future, you will not need to modify your Cicode, as this function will return the correct value.

Syntax

TrnGetGatedValue()

Return Value

The internally stored value for <GATED>.

TrnGetInvalidValue, TrnIsValidValue

Example

REAL MyTrendValue;

IF MyTrendValue = TrnGetGatedValue() THEN

Prompt ("This value is <GATED>")

ELSE

IF MyTrendValue = TrnGetInvalidValue() THEN

Prompt("This value is <TRN_NO_VALUES>")

ELSE

Prompt("Trend value is = " + RealToStr(MyTrendValue, 10, 1));

END

END

See Also

Trend Functions

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