◆ MotionAttributeMaskOnGet()

virtual bool MotionAttributeMaskOnGet ( RSIMotionAttrMask  maskOn)
pure virtual

Check to see if a particular motion attribute mask is turned on.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Motion Configuration method group.

MotionAttributeMaskOnGet returns true if an attribute mask is turned on, false if turned off.
(int32_t) The attribute mask - values are here RSIMotionAttrMask.
maskOnRSIMotionAttrMask value we want to check.
Sample Code:
if (axis->MotionAttributeMaskOnGet(RSIMotionAttrMaskRELATIVE))
printf("The next move will be a relative move\n");
See also
RSIMotionAttrMask, MotionAttributeMaskOnSet, MotionAttributeMaskOffSet