The RMP Motion Controller API

◆ TraceMaskOnGet()

virtual bool TraceMaskOnGet ( RSITrace  maskOn)
pure virtual

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

TraceMaskOnGet returns true if a trace output mask is turned on, false if turned off.
(bool) The trace output mask - values are here RSITrace.
maskOnRSITrace value we want to check.

ℹ This function is avaliable in RapidCode and RapidSequencer

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