AlazarInputControl#
Function Syntax#
-
RETURN_CODE AlazarInputControl(HANDLE handle, U8 channel, U32 coupling, U32 inputRange, U32 impedance)#
Select the input coupling, range, and impedance of a digitizer channel.
- Parameters
handle – [in] Board handle.
channel – [in] The channel to control. See ALAZAR_CHANNELS for a list of possible values. This parameter only takes unsigned 8-bit values. To configure channel I and above, see AlazarInputControlEx().
inputRange – [in] Specify the input range of the selected channel. See ALAZAR_INPUT_RANGES for a list of all existing input ranges. Consult board-specific information to see which input ranges are supported by each board.
coupling – [in] Specifies the coupling of the selected channel. Must be an element of ALAZAR_COUPLINGS
impedance – [in] Specify the input impedance to set for the selected channel. See ALAZAR_IMPEDANCES for a list of all existing values. See the board-specific documentation to see impedances supported by various boards.
- Returns
ApiSuccess upon success, or an error code. See RETURN_CODE for more detailed information.