APIs, concepts, guides, and more

◆ MathBlockCountSet()

void MathBlockCountSet ( int32_t mathBlockCount)
Description:
MathBlockCountSet will configure the number of MathBlocks processed by the controller firmware.
Parameters
mathBlockCountThe MathBlock count.
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.