ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform graph update mode

Solved!
Go to solution

Is there a way to plot data continuously in waveform graph similar to a waveform chart? 

 

I do continuous data acquisition and I need to use cursors on the plotted results so I use a waveform graph. The problem is that the graph is refreshed all the time and shows only the new results. I tried to get the complete data stream plotted by putting the data acq block into a for loop, enabling the indexing and storing the acquired/indexed data blocks in an array [See attached picture]. It still keeps refreshing.

 

Any ideas and hints are welcome.

 

Thanks,

Krivan

0 Kudos
Message 1 of 5
(8,275 Views)

Is this what you want?

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
Message 2 of 5
(8,246 Views)

I tried your code and it did work. I implemented your suggestion but in my application it keeps adding the new data as an additional curve. I cannot append the new data, even if the shift register feeds the data into the build array. I can't see at the moment what I did wrong...

0 Kudos
Message 3 of 5
(8,229 Views)
Solution
Accepted by topic author krivan

Have a look at this image

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 4 of 5
(8,221 Views)

True. You're right. Thanks!

0 Kudos
Message 5 of 5
(8,210 Views)