◆ 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.

Description:
MotionHoldTypeGet returns the type of the hold attribute.
Returns
(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