long dms_CaptureBit(long NodeNumber, long AxisNumber)
function dms_CaptureBit(NodeNumber:longint; AxisIndex:longint:longint);
The Capture Bit returns the current value of the signal chosen to be the capture signal for the indicated axis.
The signal is selected with Set Capture Source. This signal is used to trigger the capture latches for precisely
recording an axis position. This command is provided to observe the state of the capture signal independent of the capture
The Capture Bit command 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
Capture Has Tripped