Capture Position

C Definition

double dms_CapturePosition(long NodeNumber, long AxisNumber)

Pascal Definition

function dms_CapturePosition(NodeNumber:longint; AxisNumber:longint):double;

Description

Capture Position returns the position where the capture event occurred. The capture event occurs when the capture is armed and the selected capture signal transitions as sepcified by Set Capture Trip. The Capture Position is only valid if Capture Has Tripped.

Escapes

Reading the Capture Position does not produce any escapes.

Note that the EscapeResult parameter must be preset to 0 before making the call or the routine will not run

Related Topics

Arm Capture
Set Capture Trip
Set Capture Source
Capture Has Tripped
Capture Bit