LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display two waves in one Waveform Graph?

Hi all.

 I am attaching a VI in which I am displaying a wave in a Waveform graph and also showing the power spectrum of the same signal in another waveform graph. I am getting the data from a txt file. The thing is that I want to do the samething but with two waves at the same time for each task: two waves in its original form on a waveform chart and the corresponding two power spectrums in another waveform chart. I have tried to do this using clusters and arrays but I have had no luck yet. Coud someone give me a hint about this? Thanks in advance,

Regards,

Carlos Marcano.

0 Kudos
Message 1 of 4
(3,437 Views)
Sorry, I didn´t attach the VI before. Here it is.

Regards,

Carlos Marcano.

0 Kudos
Message 2 of 4
(3,429 Views)
Hello Carlos,

the help window for a waveform graph/chart only mentions "single plot with waveform datatype". To get more plots on one graph you have to build an 2D-array  of  points. Just look at the help window!
 
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 4
(3,427 Views)
Thanks a lot, that worked! In fact it was so easy that it is embarrasing I didn´t notice that before... 😞  Thanks, again, GerdW.

Regards,

Carlos Marcano.

0 Kudos
Message 4 of 4
(3,421 Views)