Hi there I am new to NI,
I use the NI-USB-6001
I can setup the ports for input and output by using the examples in:
"...Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Digital\Read Values"
DAQmxErrChk(DAQmxCreateDOChan(taskHandle, "Dev1/port0/line1", "", DAQmx_Val_ChanPerLine));
But how do I retrieve the information if a port or port pin is setup as an input or an output port.