MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
OperationModeGet()
RSIOperationMode
OperationModeGet
(
)
pure virtual
Get the operation mode.
Description:
OperationModeGet will return the axis operation mode.
Returns
(
RSIOperationMode
) Operation Mode.
Sample Code:
// -- C++ -- //
if
(axis->
OperationModeGet
() ==
RSIOperationModeVELOCITY_MODE
) {
printf(
"The axis is in Velocity mode.\n"
);
}
// -- C# -- //
if
(axis.
OperationModeGet
() ==
RSIOperationModeVELOCITY_MODE
) {
Console.WriteLine(
"The axis is in Velocity mode."
);
}
See also
OperationModeSet