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
(3,276 Views)
Solution
Accepted by topic author atomless
Use an array. Check the example that ships with LabVIEW.
Message 2 of 6
(3,270 Views)
But why would you be using two separate DAQmx Reads?
Message 3 of 6
(3,261 Views)

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

 

Thanks,

 

Kevin

 

0 Kudos
Message 4 of 6
(3,188 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
(3,184 Views)

Like this:

channels4.png

---

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