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

AVEVA™ Plant SCADA

IsError

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the current error value. The error value is set when any error is detected, and is reset after this function is called. You can call this function if user error-checking is enabled or disabled.

You should call this function as soon as possible after the operation to be checked, because the error code could be changed by the next error.

Syntax

IsError()

Return Value

The current error value. The current error is reset to 0 after this function is called.

ErrSet

Example

! Enable user error-checking.
ErrSet(1);
! Invalid ArcSine.
Ac=ArcSin(20.0);
! Sets ErrorVariable to 274 (invalid argument passed).
ErrorVariable=IsError()

See Also

Error Functions

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