LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Realtime graphing

I was wondering if it would be able to see an XY Ploter graph being graphed in realtime instead of waiting for the cycles to finish and then seeing it graphed. I am trying to graph stress vs. strain and I want to see the data that i'm getting in real time, so that i would know when to stop and what my results are immediatly.
0 Kudos
Message 1 of 9
(3,824 Views)
Accumulate the data in a shift register and put the x-y-graph inside the loop. See example below.
0 Kudos
Message 2 of 9
(3,826 Views)
yes there is a sample in Labview using "Buffering".
Please search in the sample-vi.


"Mantissimo" schrieb im Newsbeitrag
news:50650000000800000017910000-1042324653000@exchange.ni.com...
> I was wondering if it would be able to see an XY Ploter graph being
> graphed in realtime instead of waiting for the cycles to finish and
> then seeing it graphed. I am trying to graph stress vs. strain and I
> want to see the data that i'm getting in real time, so that i would
> know when to stop and what my results are immediatly.
0 Kudos
Message 3 of 9
(3,824 Views)
> I was wondering if it would be able to see an XY Ploter graph being
> graphed in realtime instead of waiting for the cycles to finish and
> then seeing it graphed. I am trying to graph stress vs. strain and I
> want to see the data that i'm getting in real time, so that i would
> know when to stop and what my results are immediatly.

There is another example called XY chart in
examples/general/graphs.llb/XY Chart.vi

Greg McKaskle
0 Kudos
Message 4 of 9
(3,824 Views)
I'm using LabVIEW 5.0, so i wasn't able to open up your example, and i cant find any of those other examples mentioned. Is there another way for me to see those examples?
0 Kudos
Message 5 of 9
(3,824 Views)
> I'm using LabVIEW 5.0, so i wasn't able to open up your example, and i
> cant find any of those other examples mentioned. Is there another way
> for me to see those examples?

I was doing it from memory. The actual path is
examples/general/graphs/charts.llb/XY Chart.vi.

Greg McKaskle
0 Kudos
Message 6 of 9
(3,824 Views)
I dont know if you can help me but i have to graph stress vs strain and the example that i found only graphs the graph when all the points that i'm receiving are alrady in the memory or something like that. What i need is that as soon as the points are received that it would graph it on the graph, like in realtime. Right now i created a buffer of sorts that would collect the points and graph them, but after a while the old points disapear since they are replaced by the new ones. I need all the points to be there. I attached the file that I created so you could see what has been done.
Download All
0 Kudos
Message 7 of 9
(3,824 Views)

I am trying to plot two curves in real time using shift registers and xy graph but do not seem to get the syntax right. Do you have any tips on how to do that? I have problem with the dimension of the input array to the xy graph.

Best regards

Gustav Nyström

0 Kudos
Message 8 of 9
(3,701 Views)

Never mind my question. Ive found a solution. Thanks for the inspiring example altenbach!

/Gustav

0 Kudos
Message 9 of 9
(3,692 Views)