Returns if a scan operation is in progress.
Gx3788AnalogInScanIsRunning (nHandle, pbIsRunning, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX3788 board. |
pbIsRunning |
PBOOL |
Returns the scan operation rung status.
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function returns if a scan operation is in progress.
Note: see the Gx3788AnalogInScanStart() API for a complete example code.
The following example checks if a scan operation is in progress:
SHORT nStatus;
BOOL bRunning;
Gx3788AnalogInScanIsRunning (nHandle, &bRunning, &nStatus);
if (bRunning)
printf("Analog In Scan in progress...");
else
printf("Analog In Scan not running");
Gx3788AnalogInScanGetLastRunCount, Gx3788AnalogInScanReadMemoryRawData, Gx3788AnalogInScanReadMemoryVoltages, Gx3788AnalogInScanSetChannelListIndex, Gx3788AnalogInScanSetCount, Gx3788AnalogInScanSetSampleRate, Gx3788AnalogInScanStart, GxFpgaGetErrorString