void EncoderRatioSet ( RSIMotorEncoder  encoder,
long  numerator,
long  denominator 
)

Description:
EncoderRatioSet uses a user defined numerator / denominator to scale counts by the encoder specified.
Parameters:
encoder A (RSIMotorEncoder) value. Generally Primary.
numerator The Numerator for the Ratio.
denominator The Denominator for the Ratio.
Sample Code:
  axisOne->EncoderRatioSet(RSIMotorEncoderPRIMARY, 2, 1);
Notes:
EncoderRatioSet is only functional in RapidCode 03.04.XX and later releases. The default is a 1:1 ratio. As EncoderRatios take up additional controller resources, you may want to disable this feature by setting the encoder with a 0 numerator and denominator once done with scaling.