08-19-2008 06:20 AM
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
08-19-2008 06:32 AM
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
08-20-2008 11:03 AM
Hi Stuart,
I've written a simple piece of code which should behave in the way you described.
Hope it helps
Steve