◆ MotionHoldTypeGet()

virtual RSIMotionHoldType MotionHoldTypeGet ( )
pure virtual

Get the motion hold attribute type.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Motion Configuration method group.

MotionHoldTypeGet returns the type of the hold attribute.
(RSIMotionAttrHoldType) Attribute which Motor holds monitors.
Sample Code:
if (axis->HoldTypeGet() == RSIMotionAttrHoldTypeGATE)
printf("The next motion will be waiting for the GATE to be cleared before executing\n");
See also
RSIMotionAttrHoldType, MotionHoldTypeSet