Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6229 M series parallel digital output

I have a NI6229 M series DAQ. I have to use the digital ports available in NI6229; 8 lines to be used as data bus, 3 as address selection lines. In order to use this way, i need to send digital data (say 10001000) across lines P0.0 to P0.7(data bus) at one shot. I am unable to send the data to these lines with one task handle. Is there a way to configure the lines in the above mode and send the data at one shot?
 
Currently I have created task handle for each line (P0.0, P0.1 etc) and sending this digital data one by one on to each line.
 
Regards,
Rajesh.
0 Kudos
Message 1 of 4
(2,825 Views)
Hello Rajesh.  There is a way you can do this which is explained perfectly in this shipping example. 
 
Brian Fleissner
National Instruments
0 Kudos
Message 2 of 4
(2,806 Views)
Sorry for not pointing you to the example.  The example is called "Write Dig Port.vi" which can be located in the NI Example Finder.  You can Browse according to Directory Structure and then click on DAQmx->Digial->Generate Values.llb->Write Dig Port.vi.  Opening this example should be sufficient for what you requested.
 
Brian Fleissner
National Instruments
0 Kudos
Message 3 of 4
(2,802 Views)
It is working, Thank you Brian for pointing out the right example.
 
Rajesh.
0 Kudos
Message 4 of 4
(2,783 Views)