User manual

Chapter 3 Software Overview
NI-DAQ User Manual for PC Compatibles 3-68 ni.com
At the start of your application, call
DIG_Grp_Config
to configure
the individual digital ports as a group. After the ports are grouped, call
DIG_Grp_Mode
(step 2 of Figure 3-23) to alter the handshaking mode of
the DIO-32F and 653X devices. The various handshaking modes and the
default settings are explained in the
DIG_Grp_Mode
function description.
The next step in your application is to check if the port is ready for a transfer
(step 3 of Figure 3-23). To do this, call
DIG_Grp_Status
. If the group
status indicates it is ready, call
DIG_Out_Grp
or
DIG_In_Grp
to transfer
the data to or from the group.
The final step of the flowchart is to loop back until all of the data has been
input or output.