LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plotting individual strings from an array

hi,
i have a problem plotting a x-y graph, string by string.. my application always collects all the data in an array first before plotting it. How can i plot
it strand by strand?
Thanks in advance.
ade
0 Kudos
Message 1 of 4
(2,686 Views)
It will slow down your program, but you may want to put the graph terminal into the loop that builds the array. This will be slower because it calls the UI each loop instead of just updating the graph once at the end. If you can accept the performance hit, I would recommend it as I like to see something happening as it goes.

I hope that this helps!
Bob Young
0 Kudos
Message 2 of 4
(2,686 Views)
hi,
can you explain in more details? My array is put inside a for-loop which generates the ramp voltage. My x-y graph terminal is also in this for-loop, but it does not plot every string.
Maybe i misunderstood u, can u elaborate?
thanks,
adeline
0 Kudos
Message 3 of 4
(2,686 Views)
Here is a short example of what I have in mind. I have added a comment on the diagram that explains what I am doing.

If this isn't what you are looking for, you will need to provide more details about your particular application.

Hope that this helps!
Bob Young
0 Kudos
Message 4 of 4
(2,686 Views)