RMP Motion Controller
10.6.4
APIs
, concepts, guides, and more
Community
Support
Contact
◆
BackgroundCycleCounterGet()
int32_t BackgroundCycleCounterGet
(
)
Description:
BackgroundCycleCounterGet returns the value of the counter
Returns
(int32_t) Background cycle counter value.
Sample Code:
// -- C++ -- //
printf(
"Background Cycle Counter reads %ld\n"
, controller->
BackgroundCycleCounterGet
());
RSI::RapidCode::MotionController::BackgroundCycleCounterGet
int32_t BackgroundCycleCounterGet()
Get the current value of the controller's processor's background cycle counter.
// -- 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.
RSI
RapidCode
MotionController
Generated by
1.10.0