Click or drag to resize

TraceWrite Method

A trace message is sent out on the network. The message can be displayed in the controller console by enabling the functionality on the controller. Use fpcmd_enable_console_output to enable FlexPendant logging.

Namespace:  ABB.Robotics.Diagnostics
Assembly:  ABB.Robotics (in ABB.Robotics.dll) Version: 6.5.129.0
Syntax
C#
public static void Write(
	string message
)

Parameters

message
Type: SystemString
A message to write.
Examples
This example sends a trace message containing the state of an object.
Trace.Write(string.Format("Object state: {0}\n", myobj.State.ToString()));
See Also