Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I control two myDAQ units simultaneously?

I have an application where I would like to use multiple myDAQ units to control 6 analog output channels.  I am able to control one unit very easily using a DAQ Assistant block, but when I connect 2 units, I don't have access to both.  How can I address multiple devices?

Thank you

Tom

0 Kudos
Message 1 of 5
(4,388 Views)

I've never done it via the daq assistent but probably:open the daq assistent generated vi and modify it.

If you need real good timing quality between the two devices you should connect one of the clocks to the other device and use that as input clock.

greetings from the Netherlands
0 Kudos
Message 2 of 5
(4,385 Views)

Hi Tapasquini,

 

If you want to generate data on multiple channels using the DAQ assistant you can hold down ctrl or shift to select multiple physical channels (see image below). You can also open one of the DAQmx shipping examples Help » Find Examples » Hardware Input and Output » DAQmx » Analog Generation » Voltage » Gen Mult Volt Updates - Int Clk. On the front panel, you'll see physical channels. Click the drop down box and click browse. You can use ctrl or shift to select multiple channels.

 

 

multiplechannels.png

 

Hope this helps!

 

Sean Ferguson
Application Engineering Specialist | RF and Reconfigurable Test
0 Kudos
Message 3 of 5
(4,360 Views)

Hi Sean,

 

This is exactly what I want to do, but for some reason, even with both MyDAQ units attached, only one appears in the physical channels list.  Is there any way to refresh the list or force the recognition of both devices?  Both devices work independently, just not together.


Thanks for your continued help.

Tom

0 Kudos
Message 4 of 5
(4,328 Views)

Hey Tapas,

 

To confirm, when you say they both work individually you mean when they're plugged in one at a time? With both myDAQs plugged in can you see them in MAX? What version of DAQmx do you have installed?

Sean Ferguson
Application Engineering Specialist | RF and Reconfigurable Test
0 Kudos
Message 5 of 5
(4,305 Views)