APIs, concepts, guides, and more

◆ MotionHoldTypeGet()

RSIMotionHoldType MotionHoldTypeGet ( )
Description:
MotionHoldTypeGet returns the type of the hold attribute.
Returns
(RSIMotionAttrHoldType) Attribute which Motor holds monitors.

Part of the Motion Configuration method group.

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