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

AVEVA™ Plant SCADA

DebugMsgSet

  • Last UpdatedJul 18, 2023
  • 1 minute read

Enables/disables the DebugMsg() logging functionality. It also controls whether logging is enabled for the Assert() function. This function also sets the [Code]DebugMessage parameter appropriately.

Syntax

DebugMsgSet(nMode)

nMode:

The logging mode:

0 - Disable logging.

1 - Enable logging.

Return Value

0 (zero) if successful, otherwise an error code is returned.

Assert, DebugMsg

Example

Buttons

Text

Debug Enable

Command

DebugMsgSet(1)

Comment

Enable debug logging

See Also

Miscellaneous Functions

In This Topic