Chapter 2 Function Reference — DIG_In_Grp
NI-DAQ FRM for PC Compatibles 2-172
©
National Instruments Corporation
Using This Function
DIG_In_Grp returns digital data from the group on the specified device. If the group is
configured as an input group, reading that group returns the digital logic state of the lines of
the ports in the group as some external device is driving them. If the group is configured as
an output group and has read-back capability, reading the group returns the output state of that
group. If no ports have been assigned to the group, NI-DAQ does not perform the operation
and returns an error code. You must call
DIG_Grp_Config to assign ports to a group and to
configure the group as an input or output group.