Measurement Studio for VC++

Showing results for 
Search instead for 
Did you mean: 

Digital port determine wether it is set to input or to output

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.



0 Kudos
Message 1 of 1