MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ BackgroundCycleCounterGet()

int32 BackgroundCycleCounterGet ( )
pure virtual

Get the current value of the controller's processor's background cycle counter.

Description:
BackgroundCycleCounterGet returns the value of the counter
Returns
(int32) Background cycle counter value.
Sample Code:
// -- C++ -- //
printf("Background Cycle Counter reads %ld\n", controller->BackgroundCycleCounterGet());
// -- C# -- //
Console.WriteLine("Background Cycle Counter reads {0}", controller.BackgroundCycleCounterGet());
See also
SampleCounterGet
Note
The return value is a 32 bit counter which will roll over.