AlazarGalvoFeedbackAdcRead¶
Function Syntax¶
-
RETURN_CODE AlazarGalvoFeedbackAdcRead(HANDLE handle, int32_t *x, int32_t *y)¶
Reads the value of the feedback ADCs on a board.
The trigger of the device must be running for the ADC to collect data.
This function should not be used to query the feedback ADC values during an acquisition, because the exact time at which the values returned were sampled is not well-defined. During an acquisition, the record footers of the acquired data should be used instead.
- Parameters:
handle – Handle to board
x – Outputs the X feedback ADC value
y – Outputs the Y feedback ADC value
- Returns:
A RETURN_CODE return code indicating success or failure