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

AVEVA™ Plant SCADA

Debug_Trace

  • Last UpdatedJul 18, 2023
  • 1 minute read

Adds a trace message to the syslog.dat file. The message is classified by trace level, module and function.

Note: It is recommended that this function be used sparingly because it is called even when tracing is turned off.

Syntax

Debug_Trace(STRING sModule, STRING sFunction, STRING sMessage, INT nLevel=TRACE_Information)

sModule

The module of the function that generated the trace message.

sFunction

The function which generated the trace message.

sMessage

The trace message to output.

nLevel

The TRACE_<level> Labels defined in sa_include. See Debug_SetTraceLevel for the list of values.

Return Value

N/A.

Example

Debug_Trace("Workspace", "_Workspace_FindPane", "Pane '" + sSearchTerm + "' not found.", TRACE_Error);

Debug_SetTraceLevel

See Also

Public Functions

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