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

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

 

Thanks,

 

Kevin

 

0 Kudos
Message 4 of 6
(1,279 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
(1,275 Views)

Like this:

channels4.png

---

Peter Flores
Applications Engineer
Message 6 of 6
(1,228 Views)