APIs, concepts, guides, and more

◆ CompensatorPositionGet()

double CompensatorPositionGet ( int32_t compensatorNumber)
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.

Axis-Positions_and_Trajectory_Status

Part of the Compensator method group.

Sample Code:
Console.WriteLine("CompensationPosition: " + controller.CompensatorPositionGet());
double CompensatorPositionGet(int32_t compensatorNumber)
Get the compensator position.
Note
See the topics page for more info on how and when to use compensators.