ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two 1D Waveforms

Solved!
Go to solution

I am using DAQmx Read (Analog 1D wfm NChan NSamp).vi twice, once to read Dev/ai0 and Dev/Ai1, two analog inputs from a PXI-6052.  I can make a waveform chart plot either one or the other, but I want them both to appear on the same waveform chart.  How do I do this?

 

Thanks,

 

Kevin

 

0 Kudos
Message 1 of 6
(4,130 Views)
Solution
Accepted by atomless
Use an array. Check the example that ships with LabVIEW.
Message 2 of 6
(4,124 Views)
But why would you be using two separate DAQmx Reads?
Message 3 of 6
(4,115 Views)

Hi Dennis:  How do you use a single DAQmx Read for more than one input?

 

Thanks,

 

Kevin

 

0 Kudos
Message 4 of 6
(4,042 Views)
Just by specifying multiple channels. For example, Dev1/ai0:ai1. You can choose multiple channels by clicking on the physical channel control and selecting browse.
Message 5 of 6
(4,038 Views)

Like this:

channels4.png

---

Peter Flores
Applications Engineer
Message 6 of 6
(3,991 Views)