RSIMotorDemandMode MotorDemandModeGet (  ) 

Description:
MotorDemandModeGet will return the motor demand mode.
Returns:
(RSIMotorDemandMode) Motor Demand Mode.
Sample Code:
  // -- C++ -- //
  if(axis->MotorDemandModeGet() == RSIMotorDemandModeVELOCITY) {
     printf("The motor is in Velocity Demand mode.\n");
  }
  // -- C# -- //
  if(axis.MotorDemandModeGet() == RSIMotorDemandModeVELOCITY) {
     Console.WriteLine("The motor is in Velocity Demand mode.");
  }
Notes:
MotorDemandModeGet is only functional in RapidCode 03.04.XX and later releases.
See also:
MotorDemandModeSet