LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing size and dynamic data array to Graph

Hello,

I would like to display an array of dynamic size  and dynamic data in a XY graph, with X being the time, and Y  the values received with the array.

Is is possible to make that with Labview 8.2? I don't find a solution.

Thank you.

Regards
0 Kudos
Message 1 of 5
(3,200 Views)
Hello again,

There is no method for an XY graph to set the number of plots please?

Thanks, regards.

Message Edited by ENSTB_Vivien on 06-08-2007 03:46 AM

0 Kudos
Message 2 of 5
(3,183 Views)
Hello,

i am not sure if i understodd what you meant.

but have you tried to use the waveform chart an a "bundle" to display your graphs?

in addition, please have a look at the following link. it explains how to get displayed the absolute time and date on the x-axis:
http://digital.ni.com/public.nsf/allkb/6F0054EEABAFE4B886256F2700012142?OpenDocument

"setting the number of plots":
what do you exactly mean? do you want to choose how many graphs are displayeD? like, data 1, data2, data6 and the next time data 3, data4, data5, etc?

Message Edited by Kilian on 06-11-2007 03:16 AM

0 Kudos
Message 3 of 5
(3,156 Views)
Hello,

in input, I can have an array of size A up to B, let's say.

If the size of the array is A for instance, in addition, the values of this array are changing, and belongs to [x1 x2].

I want to display this values in function, only of the the time.

So maybe there is 1 signal to plot, or maybe there is 7. That's why I was asking if it is possible to set the number of plot.


Thanks, regards.

0 Kudos
Message 4 of 5
(3,145 Views)
Hi,

now i guess i understood.

you can plot different amounts of graphs using a for loop.
if the data is equidistant in time you can create waveforms in the FOR loop and than plot them.
if the data is not equdistant in time you can create for eache channel a set of X and t values which can be plotted with a XY  graph.

Just link your array to a FOR loop and crate the waveforms or X,t datasets in the FOR loop.
The FOR loop reacts on the size of the array so this should be the way it works for you.

regards
Kilian
0 Kudos
Message 5 of 5
(3,125 Views)