Welding System User Manual
Chapter 2 Function Reference — DIG_Grp_Config
©
 National Instruments Corporation 2-165 NI-DAQ FRM for PC Compatibles
port = 2 assigns port 2 (C).
port = 3 assigns port 3 (D).
groupSize = 2 port = 0 assigns ports 0 and 1 (A and B).
port = 2 assigns ports 2 and 3 (C and D).
groupSize = 4 port = 0 assigns ports 0, 1, 2, and 3 (A, B, C, and D).
dir indicates the direction, input, or output for which the group is to be configured.
0: port is configured as an input port (default).
1: port is configured as an output port.
3: port is configured as an input port with request-edge latching disabled.
4: port is configured as an output port with request-edge latching enabled.
Using This Function
DIG_Grp_Config configures the specified group according to the port assignment and 
direction. If groupSize = 0, NI-DAQ releases any ports assigned to the group specified by 
group and clears the group handshake circuitry. If groupSize = 1, 2, or 4, NI-DAQ assigns 
the specified ports to the group and configures the ports for the specified direction. NI-DAQ 
subsequently writes to or reads from ports assigned to a group using the 
DIG_In_Grp and 
DIG_Out_Grp or the DIG_Block_In and DIG_Block_Out functions. NI-DAQ can no 
longer access any ports assigned to a group through any of the nongroup calls listed 
previously. Only the 
DIG_Block calls can use a group of size 4.
If you are using an AT-DIO-32F and intend to perform block I/O, you are limited to group 
sizes of 2 and 4. If you are using a DIO 6533 (DIO-32HS) and intend to perform block I/O, 
you also can use a group size of 1. After system startup, no ports are assigned to groups. 
See your hardware user manual for information about group handshake timing.










