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: 

Add plot using case structure

Hello 2 all!

 

I've searched the forum but i don't understand how to overcome this problem.

 

I still don't understand hot to handle the display of two waveforms using a case structure.

 

Let's say 1 have a case structure with 2 cases, thus 2 waveforms.

 

So in the 1'st case, a waveform is displayed. But how to overlay the second waveform generated in the next case over the first one  ?

 

Please give me an example !

 

Thank you very much 4 your time !

0 Kudos
Message 1 of 5
(3,374 Views)
Don't use a case structure if you need the waveforms to have more than one plot at a time.
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 2 of 5
(3,361 Views)

I have the code that generates the data and then a case structure. The code is only to show how to add two arrays of data together on the same graph.

 

This is an example only I do not need feedback on my coding from the peanut gallery.

Tim
GHSP
0 Kudos
Message 3 of 5
(3,355 Views)
If you post your code we may be able to help you with an efficent way to do what you are trying to do.
Tim
GHSP
0 Kudos
Message 4 of 5
(3,354 Views)

Ok ! Thank you 4 your interest, I will look at your example and get back to you later.Smiley Wink

Thank you again !

 

0 Kudos
Message 5 of 5
(3,350 Views)