◆ CompensatorPositionGet()

virtual double CompensatorPositionGet ( int32_t  compensatorNumber)
pure virtual

Get the compensator position.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Compensator method group.

Description:
CompensationPositionGet returns the result of a single specified compensator. When you command a move on the compensator's output axis, this value will get added to your target.
Returns
(double) Current value of the axis' compensator position in counts.
Sample Code:
Console.WriteLine("CompensationPosition: " + controller.CompensatorPositionGet());
Note
See the topics page for more info on how and when to use compensators.