The RMP Motion Controller APIs

◆ MathBlockCountSet()

void MathBlockCountSet ( int32_t mathBlockCount)
Description:
MathBlockCountSet will configure the number of MathBlocks processed by the controller firmware.
Parameters
mathBlockCountThe MathBlock count.
Remarks
This function is also available in RapidSequencer.
Warning
Important usage instructions for all RapidCode object count set methods:
This should be done after successful MotionController::Create but before any RapidCode object creation, (MotionController::AxisGet, MotionController::MultiAxisGet, etc.) as changing object counts will reconfigure the RMP's dynamic memory allocation which invalidates all preexisting RapidCode objects.
See also
AxisCountSet, MotionCountSet, RecorderCountSet, UserLimitCountSet, MathBlockCountSet, CompensatorCountSet

Part of the MathBlock method group.

Examples
CalculateAccelerationFromVelocity.cpp, DifferenceOfPositionUserLimit.cpp, MathBlock.cs, and SampleAppsHelper.h.