The RMP Motion Controller API

◆ TraceInjectMessage()

virtual void TraceInjectMessage ( RSITrace  traceLevel,
const char *const  message 
pure virtual

Add a message to the Trace Log.

TraceInjectMessage will put whatever message you created at whatever level you specific in the log.

ℹ This function is avaliable in RapidCode and RapidSequencer

Sample Code:
axis->TraceInjectMessage(RSITraceCUSTOM, "Starting Process Alpha"); //Can be used as a sort aid.
You should pretty much always use RSITraceCUSTOM as the traceLevel.
See also
TraceFileSet, Trace, TraceMaskOnSet, TraceMaskOnGet, TraceMaskOffSet