◆ CompensationPositionGet()

virtual double CompensationPositionGet ( )
pure virtual

Get the compensator position.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
CompensationPositionGet returns the combined output of any compensator tables that are applied to an axis. When you command a move, this value will get added to your target.
Returns
(double) Current value of the axis' compensator position in counts.
Sample Code:
Console.WriteLine("TargetPosition: " + axis.CompensationPositionGet());
Note
See the topics page for more info on how and when to use compensators.