Chapter 2
Using Your NI 653X
2-24
ni.com
Figure 2-11.
Programming Buffered Handshaking I/O in NI-DAQ C API
Read?
DIG_Grp_Mode
DIG_Grp_Config
Read?
Continuous?
No
DIG_DB_Config
Yes
DIG_Block_In
DIG_Block_Out
DIG_Block_In
DIG_Block_Out
Yes
No
Yes
No
Yes
DIG_DB_HalfReady
Is the
next half buffer
ready?
DIG_DB_Transfer
Acquisition
Complete?
Yes
No
No
DIG_Block_Clear
Yes
DIG_Block_Check
No
Acquisition
Complete?