Chapter 2 Function Reference — DIG_Prt_Config
©
National Instruments Corporation 2-185 NI-DAQ FRM for PC Compatibles
After system startup, the digital I/O ports on all the boards supported by this function are
configured as follows:
dir = 0: Input port.
mode = 0: No-handshaking mode.
Also, ports on the DIO-24, AT-MIO-16D, DIO-32F, DIO 6533, DIO-96, and Lab and 1200
Series devices are not assigned to any group. If this is not the digital I/O configuration you
want, you must call
DIG_Prt_Config to change the port configuration. You must call
DIG_Grp_Config instead to use handshaking modes on the DIO-32F and DIO 6533.
Note AT-MIO-16D, AT-MIO-16DE-10, Lab and 1200 Series, PC-AO-2DC,
PC-DIO-24/PnP, and DIO-96 users—Because of the design of the Intel 8255 chip,
calling this function on one port will reset the output states of lines on other ports
on the same 8255 chip. The other ports will remain in the same configuration;
input ports are not affected. Therefore, you should configure all ports before
outputting data.
Note If you have connected one or more AMUX-64T boards or an SCXI chassis module
to your MIO or AI device,
DIG_Prt_Config returns a badPortError if called
with port equal to 0.