LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect multiple DAQ in labview

Hi, 

 

I have a question about connecting multiple DAQs to the labview. 

So, currently I have two NI 6210 DAQs, each with 16 channels. I would like to simultaneously collect data with 32 channels, so I plugged both DAQs into the USBs on my computer. I am wondering which function block that I could use to look for and combine the data from two DAQs in Labview? Currentlly I used a DAQ assistant to read data from one of my DAQs. I tried adding another DAQ assistant block, and then merge the two blocks, but it doesn't work. 

 

Please advise. If there is any similar post, I would really appreciate if you could direct me to those. 

 

Thank you very much!

 

Best,

Minnie

 

0 Kudos
Message 1 of 6
(4,281 Views)

You can look at the following example in NI Example Finder.

 

daq.png

0 Kudos
Message 2 of 6
(4,273 Views)

Can you share some code?  What do you mean by "it didn't work"?

 

From I am seeing with that board, you will need 2 DAQmx tasks (DAQ Assistants), one for each board you want to read from.  From there is it a matter of how you want to manage your data.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 6
(4,272 Views)

If all channels perform the same type of measurements you can just add the channels of the second daq board in the same daq assistant. The daqmx read will output an array of 32 values (assuming you use the 32 available channels).

You should provide us with more details.

 

Ben64

0 Kudos
Message 4 of 6
(4,260 Views)

@ben64 wrote:

If all channels perform the same type of measurements you can just add the channels of the second daq board in the same daq assistant. The daqmx read will output an array of 32 values (assuming you use the 32 available channels).

You should provide us with more details.

 

Ben64


That may not work with M series cards (unless NI changed something on me).  Last I checked, M series and older needed to have seperate tasks to run, meaning you would need two DAQ Assistants.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 6
(4,244 Views)

@crossrulz wrote:

@ben64 wrote:

If all channels perform the same type of measurements you can just add the channels of the second daq board in the same daq assistant. The daqmx read will output an array of 32 values (assuming you use the 32 available channels).

You should provide us with more details.

 

Ben64


That may not work with M series cards (unless NI changed something on me).  Last I checked, M series and older needed to have seperate tasks to run, meaning you would need two DAQ Assistants.


Works with simulated devices but it will need to be verified on real devices.

 

Ben64

0 Kudos
Message 6 of 6
(4,225 Views)