MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
MotionAttributeMaskOnGet()
bool MotionAttributeMaskOnGet
(
RSIMotionAttrMask
maskOn
)
pure virtual
Check to see if a particular motion attribute mask is turned on.
Description:
MotionAttributeMaskOnGet returns true if an attribute mask is turned on, false if turned off.
Returns
(int32) The attribute mask - values are here
RSIMotionAttrMask
.
Parameters
maskOn
RSIMotionAttrMask
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