◆ OperationModeGet()

virtual RSIOperationMode OperationModeGet ( )
pure virtual

Get the operation mode.

ℹ This function is avaliable in RapidCode and RapidSequencer

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