Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I initialize ports using DAQmx VIs?

I installed NI-DAQmx and I can't figure out how to do a simple initilialize of the 3 ports on the PCI-6503 card
to be all outputs?
 
Or should I have installed the NI-DAQ Legacy drivers/
0 Kudos
Message 1 of 5
(3,234 Views)
Have you looked at the shipping examples? One is called Write Digital Channel and another is called Write Digital Port. The direction is done with the DAQmx Create Channel and you can select by line or by port. Though the examples only show a single port or all lines in a port, you can just add additional ports or lines to the channel list. For example, Write Dig Port has Dev1/port0. For all 3 ports, the syntax is Dev1/port0:2.
0 Kudos
Message 2 of 5
(3,231 Views)
I must be not looking in the right places.
Where are these examples?  within LabVIEW 8 examples or within NI-DAQ subdirectories?
Would really really appreciate the exact path.
 
I found the following link
 
Thanks.
 
 

Message Edited by nyc on 03-07-2006 05:29 PM

0 Kudos
Message 3 of 5
(3,228 Views)
Well, if you open the example finder (from the help menu), you can go to the Browse tab and expand Hardware Input and Output>DAQmx>Digital Generation. The actual files are in Examples>DAQmx>Digital>Generate Values.llb
0 Kudos
Message 4 of 5
(3,221 Views)

Thanks, Dennis.

Found them.

As my mother used to say to me, "you didn't look hard enough".  😉

0 Kudos
Message 5 of 5
(3,211 Views)