Returns the currently programmed sample count for waveform digitization.
Gx3722DigitizerGetSampleCount (nHandle, pdwSampleCount, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX3722 board. |
pdwSampleCount |
PDWORD |
Returns the programmed sample count, 1 to 524288 (512K Samples). |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The sample count is the number of samples that are digitized after calling Gx3722DigitizerTrigger() API.
The following example gets the current sample count:
DWORD dwSampleCount;
Gx3722DigitizerGetSampleCount (nHandle, &dwSampleCount, &nStatus);
Gx3722DigitizerArm, Gx3722DigitizerHalt, Gx3722DigitizerSetTriggerSource, Gx3722DigitizerSetTriggerMode, Gx3722DigitizerSetTriggerThreshold, Gx3722DigitizerSetSampleCount, Gx3722DigitizerTrigger, Gx3722DigitizerReadWaveform, Gx3722DigitizerReadWaveformEx, Gx3722DigitizerSetPxiTrigger, Gx3722DigitizerGetState, Gx3722DigitizerGetSampleStatus, GxFpgaGetErrorString