The RMP Motion Controller APIs

◆ AxisFrameBufferSizeSet()

void AxisFrameBufferSizeSet ( int32_t axisNumber,
int32_t frameBufferSize )
Description:
AxisFrameBufferSizeSet sets the frame buffer size for the axis (must be power of 2).

Part of the Information method group.

Sample Code:
controller->AxisFrameBufferSizeSet(0, 2048);
void AxisFrameBufferSizeSet(int32_t axisNumber, int32_t frameBufferSize)
Set Frame buffer size for the axis.
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
AxisFrameBufferSizeSet, AxisFrameBufferSizeDefault