Sets the state of the digitizer channel’s termination resistors.
Gx3722DigitizerSetTermination (nHandle, nLoad, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX3722 board. |
nLoad |
SHORT |
Specifies the channels where the 75Ω termination resistors are applied:0. GX3722_DIGITIZER_TERMINATION_NONE: No termination resistors.1. GX3722_DIGITIZER_TERMINATION_CH1: 75Ω across channel 1 only.2. GX3722_DIGITIZER_TERMINATION_CH2: 75Ω across channel 2 only.3. GX3722_DIGITIZER_TERMINATION_BOTH: 75Ω across both channels. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The digitizer channels each have a 75Ω, 2-Watt resistor available to bridge the positive and negative input pins. By default, this termination resistor is not connected.
The following example connects the termination resistor across digitizer channel 1 and then makes a measurement:
DOUBLE dMeasurement;
Gx3722DigitizerSetFrequency (nHandle, GX3722_DIGITIZER_LOAD_CH1, &nStatus);
Gx3722DigitizerReadStatic (nHandle, GX3722_DIGITIZER_CH1, &dMeasurement, &nStatus);
Gx3722DigitizerSetTriggerMode, Gx3722DigitizerSetTriggerThreshold, Gx3722DigitizerGetTermination Gx3722DigitizerReadStatic, Gx3722DigitizerReadWaveform, GxFpgaGetErrorString