LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous plotting of 1D data

Solved!
Go to solution

Hi 

 

I would like to plot the data acquired from cRIO continously over time. Please find the attached screen shot of code and the RT launcher vi. In order to plot I'm acquiring the tick counts in micro seconds from FPGA and two analog inputs. With the present code the graph refreshes after each iteration. How could I make the data stay on screen for prescribed time of 5 minutes always.

 

Regards

Gurubaran

Download All
0 Kudos
Message 1 of 3
(2,189 Views)
Solution
Accepted by topic author Gurubaran

Use a shift register to keep track of the previous data, then append the new data to the old data.  You may also want to put a check in there to get a subset of the data if you have too much.  It is a common problem to append new data forever and forget about the fact that this means memory usage will grow forever too.

Message 2 of 3
(2,185 Views)

Hi Hooovahh,

 

Thanks for helping out and reminding to include a check. I have incoprated and the code is working.

 

Regards

Gurubaran

0 Kudos
Message 3 of 3
(2,175 Views)