double EncoderPositionGet ( RSIMotorEncoder  encoder  ) 

Description:
EncoderPositionGet returns the raw encoder position for an axis. The encoder position is not scaled by the origin. The encoder position is sometimes called the motor feedback position.
Parameters:
encoder Use RSIMotorEncoder.
Returns:
(double) Raw encoder value.
Sample Code:
  printf("Secondary Encoder Position: %lf\n", axis->EncoderPositionGet(RSIMotorEncoderSECONDARY));
Notes:
Typically an application will use ActualPositionGet, which is scaled by the Origin position.
See also:
RSIMotorEncoder
Examples:
motorfeedback.cpp, and syncInterrupt.cpp.