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

AVEVA™ Plant SCADA

ErrMsg

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the error message associated with a detected hardware error.

Syntax

ErrMsg(nError)

nError:

The hardware error number returned from the IsError() function.

Return Value

The error message (as a string). A null value is returned if nError is not in the range of Cicode errors.

IsError, ErrHelp, ErrInfo, ErrTrap

Example

//Get the message of the last hardware error
sMsg = ErrMsg(IsError());

See Also

Error Functions

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