Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous analog output multiple channels

Solved!
Go to solution

I'm using DAQmx NI-USB.

I want to generate two analog output signals simultaneously, i.e. change both outputs at the same time.

Simple example:

DAQmx-out_2chan_DC.png

DAQmx-2Chan_DC_FP.jpg 

 

What happens is that instead of two outputs changing simultaneous, there is 1mS delay:

DAQmx-out_2chan_DC-Scope.png 

 

I want to generate differential output, using two channels, but the delayed response is not  acceptable.

 

Any suggestions? 

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

Try using a DAQmx Timing Property Node and set the On Demand "Simultaneous Analog Output Enable" property to True.  The default behavior to configure and update each AO channel sequentially when doing On Demand writes.


Regards,

Seth B.
Principal Test Engineer | National Instruments
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 2 of 5
(4,753 Views)
Solution
Accepted by topic author Dimo

Hi Seth B,

 

Yes, this works!

One remark- to make this property visible I had to enable "show all attributes" in "select filter" menu (right click on the property node).

 

Thanks. 

0 Kudos
Message 3 of 5
(4,744 Views)

Hi Dimo,

 

I'm glad to hear it worked!  Which device are you using, specifically.  If it is a supported property for your device, it should show up by default. This may need to be filed as a Corrective Action Request.

 

Regards,

Seth B.
Principal Test Engineer | National Instruments
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 4 of 5
(4,739 Views)

It is NI USB 6259.

 

Default was:

attrib.jpg 

 

I had to tick one of the first two options to make it visible. 

 

Message 5 of 5
(4,735 Views)