PCIe-AIO14 User Manual (Rev 1.2)
- 15 -
http://www.daqsystem.com
5.2 Normal Mode Operation Sequence
5.2.1 Device Initialization
OpenDAQDevice
Windows handle allocation from the system, device initialization
5.2.2 Measurement time setting
ADC_SetSamplingRate
AD Sampling Rate Setup
5.2.3 Start measurement
ADC_Run
Initialize logic variables, Start data collection and create a data memory buffer
5.2.4 Checking the measurement status
ADC_GetBufferedCount, ADC_GetBlockState
Number of data buffering samples in continuous mode, read / write memory Buffer pointer
check
5.2.5 Read measurement data
ADC_ReadBufferedData, ADC_GetBlockData,
Data collection. Repeat measurement status check and data read
5.2.6 End of measurement
ADC_Stop
Stop collecting AD data and release the data memory buffer
5.2.7 Device Release
CloseDAQDevice
Return Windows handle to system