APIs, concepts, guides, and more

◆ MotionCountGet()

int32_t MotionCountGet ( )
Description:
MotionCountGet returns the number of Motion Supervisors enabled on the controller.
Returns
(int32_t) The Motion Supervisor count.

Part of the Information method group.

Sample Code:
// -- C++ -- //
printf("Enabled Motion Supervisors: %ld\n", controller->MotionCountGet());
int32_t MotionCountGet()
Get the number of Motion Supervisors available in the firmware.
// -- C# -- //
Console.WriteLine("Enabled Motion Supervisors: {0}", controller.MotionCountGet());
Note
The firmware default is 8.
See also
MotionCountSet
Examples
MultiaxisMotion.cpp, PVTmotionMultiAxis.cpp, PathMotion.cpp, SampleAppsHelper.h, SyncOutputWithMotion.cpp, and Template.cpp.