Returns the analog input measurement count from the last scan operation.
Gx3788AnalogInScanGetLastRunCount (nHandle, pdwMeasureCount, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX3788 board. |
pdwMeasureCount |
PDWORD |
Returns the number of voltage measurements taken during the last scan operation. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Note: see the Gx3788AnalogInScanStart() API for a complete example code.
The following example gets the analog in scan count of the last scan operation:
SHORT nStatus;
DWORD dwMeasurementCount;
Gx3788AnalogInScanGetLastRunCount (nHandle, &dwMeasurementCount, &nStatus);
Gx3788AnalogInScanIsRunning, Gx3788AnalogInScanReadMemoryRawData, Gx3788AnalogInScanReadMemoryVoltages, Gx3788AnalogInScanSetChannelListIndex, Gx3788AnalogInScanSetCount, Gx3788AnalogInScanSetSampleRate, Gx3788AnalogInScanStart, GxFpgaGetErrorString