Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

usb 6008 i/o programmable as input or output

Hello
 
Of USB 6008  Digital I/O , I read ( in it's user manual ) that: " Each channel individually

programmable as input or output" .

I find it possible to configure that in Max , But after Power-On all channels turn to input, and I have to configure them again.
 
Dose somebody know if it is possible to program that I/Os to outputs in LabView , without using Max ?
 
Thanks

___________________
Try to take over the world!
0 Kudos
Message 1 of 3
(7,400 Views)
Hi tst-

Absolutely!  The settings in MAX are only for testing purposes and do not persist when you close MAX.  For examples of how to read and write to the digital lines in LabVIEW, check out the examples (Help>>Find Examples) called "Write Dig Chan.vi" (Hardware Input and Output>>DAQmx>>Digital Generation) and "Read Dig Chan.vi" (Hardware Input and Output>>DAQmx>>Digital Measurements).

You can configure individual lines for input or output by entering "Dev1/port0/line0, Dev1/port0/line3" and so on for a non-contiguous list of lines or "Dev1/port0/line0:3" for a contiguous list from 0 to 3. 

Hopefully this helps-
Tom W
National Instruments
0 Kudos
Message 2 of 3
(7,384 Views)

Hello Tom

Thanks !

tst


___________________
Try to take over the world!
0 Kudos
Message 3 of 3
(7,372 Views)