MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ TraceMaskOnGet()

bool TraceMaskOnGet ( RSITrace  maskOn)
pure virtual

Check to see if a particular trace output mask is turned on.

Description:
TraceMaskOnGet returns true if a trace output mask is turned on, false if turned off.
Returns
(bool) The trace output mask - values are here RSITrace.
Parameters
maskOnRSITrace value we want to check.
Sample Code:
if(axis->TraceMaskOnSet(RSITraceFUNCTION_ENTRY)) // traces function name & calling parameters upon entry to function
{
printf("Function entry tracing is enabled\n");
}
See also
TraceFileSet, Trace, TraceMaskOnSet, TraceMaskOffSet, TraceMaskClear