LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display waveforms from different outputsof diff sizes in to a single graph based on the control input

Hi,
I'm facing problem in plotting multiple waveforms on the graph. The actual problem is I'm acquiring waveform from scope. I want to display these Input waveforms of different sizes & then filtering these input waveforms & again plotting the filtered results on the same graph based on the controL OPTION i select i.e Plot input waveforms/hide input waveforms & plot filtered waveforms/hide filtered waveforms. All this i need to do after the application stops & not while running.

Can somebody give me some suggestions?

Thank you very much for all your help!

sayaf
0 Kudos
Message 1 of 8
(3,433 Views)
Hi Sayaf,

I'm not sure if I understand your request correctly, but I have tried to create a solution in the VI that I have attached to this post. The VI Generates a signal and filters it and you can trough Boolean controls choose if you want either of the Waveforms displayed on the Graph.

Let me know if this was what you were looking for, thanks.

Have fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 2 of 8
(3,405 Views)
Thanks Phillip,
I'm using Labview 7.0, so i could not open your attached application.please post it once again.
I would like to give u more details about the problem. I want to control the graph display & plot
waveforms based on the controls selected. I also want to know whether i can store waveforms in to an
array & later diaplay them on to the graph after the application stops.
Plz recommend me some solution for plotting waveforms after the application stops, so that i can view waveforms.
Thanks once again
sayaf
0 Kudos
Message 3 of 8
(3,397 Views)
Hi Sayaf,

Here's the VI saved for LabVIEW 7.0.

Use the VIs in the "Waveform >> Waveform File I/O" palette to store and retrieve waveforms from disk.

Have fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 4 of 8
(3,396 Views)
Thanks,
Its perfect, but Since i'm using large amount of data around 1MB/2MB to plot for each waveform will it work efficiently & i'm not using while loop in my application will it work efficiently or i need to do some modifications
Thanks
sayaf
0 Kudos
Message 5 of 8
(3,392 Views)
Hi Sayaf,

Watch out when displaying very large waveforms on the front panel. There's no need of sending millions of points to the front panel if they can't be displayed by the monitor anyway. I would suggest you to decimate (reduce the number of points) of the signal that you are displaying on the Graph. On the block diagram, you can still handle the complete waveform and save this to a file, but trying to display all the data might slow down your application significantly.

Use the "Sample Compression" Express VI as a starting point for the decimation. As a guideline, don't show more than one point per pixel on the front panel. This means that a Graph that takes up half of the screen width on a 1024x768 monitor shouldn't be showing more than approximately 500 points of a waveform at a time.

Have fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 6 of 8
(3,387 Views)
Thanks Phillip,
Its perfect just perfect, after compressing the data its possible to plot six plots of 2MB simultaneously.

Thanks Once again
0 Kudos
Message 7 of 8
(3,369 Views)
Hi Sayaf,

Hooray! It's my pleasure to help you...

Have Fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 8 of 8
(3,367 Views)