LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

superimpose traces on waveform graph

Hi

 

I have a program which, when a certain button is pressed, reads from an analog input on the USB6251 and displays the trace on a graph. I would like to be able to superimpose the traces on the graph to compare them i.e when the button is pressed, the trace is shown on the graph, the same button is pressed again and this trace is shown 'on top of' the previous trace and so on.

 

Is this possible? I am using LabVIEW 8.5

 

Thanks

Stuart

0 Kudos
Message 1 of 3
(2,826 Views)

Stuart,

 

the graph does not "remember" what was displayed before. So you have to store this in e.g. a shiftregister and add a new plot each time the button is pressed.

But you should not forget to include some kind of limit or reset-function since you can waste memory very easily by this....

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(2,820 Views)

Hi Stuart,

 

I've written a simple piece of code which should behave in the way you described.

 

Hope it helps

 

Steve

0 Kudos
Message 3 of 3
(2,788 Views)