Gx3722DigitizerGetTriggerThreshold

Purpose

Returns the digitizer trigger threshold.

Syntax

Gx3722DigitizerGetTriggerThreshold (nHandle, pdThreshold, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX3722 board.
pdThreshold
PDOUBLE
Digitizer specified group trigger threshold, values can be -56V to +56V, with 27.3mV resolution.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The function returns the digitizer trigger threshold.

Threshold is common for both channels.

Example

The following example sets the digitizer’s trigger threshold to 5V and returns the set value:

 

SHORT nHandle, nStatus;

DOUBLE dThreshold;

 

Gx3722DigitizerSetTriggerThreshold (nHandle, 5.0, &nStatus);

Gx3722DigitizerGetTriggerThreshold (nHandle, &dThreshold, &nStatus);

 

See Also

Gx3722DigitizerArm, Gx3722DigitizerHalt, Gx3722DigitizerSetTriggerSource, Gx3722DigitizerSetTriggerMode, Gx3722DigitizerSetTriggerThreshold, Gx3722DigitizerSetSampleCount, Gx3722DigitizerTrigger, Gx3722DigitizerReadWaveform, Gx3722DigitizerReadWaveformEx, Gx3722DigitizerSetPxiTrigger, Gx3722DigitizerGetState, Gx3722DigitizerGetSampleStatus, GxFpgaGetErrorString