01-02-2006 04:21 AM - edited 01-02-2006 04:21 AM
Message Edited by k0ewl on 01-02-2006 04:22 AM
01-02-2006 04:58 AM
Hi,
In your VI, you are not groupling the corresponding x and y arrays to plot each curve on the xy graph.
In the atttached VI, see how to plot multiple sets (x, y) on a single xy graph.
keep entering new xy values into the array and observe how the graphrescales to fit updated curves.
Hope this helps
regards
Dev
01-02-2006 05:15 AM
Attached is a quick draft (LabVIEW 7.0).
Be aware that the program is still quite flawed and you'll run into memory issues pretty quickly by growing arrays without upper size limits and sending them to an XY graph. How long is this VI supposed to run? You could e.g. stream the data to disk and only keep e.g. the last 1000 points in the shift register.
01-02-2006 05:30 AM
Just insert a Transpose Array before feeding the Y data to the graph, as in the attached picture.
01-02-2006 06:05 AM