LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot the last set of data ( 1000 samples ) in a loop

Solved!
Go to solution

You need a buffer that can store more data.  If you leave the Chart inside your "While loop", as somebody pointed out above, you can extract the history using property nodes.

 

A shift register inside your loop is one way to do it but the simplest buffer is a Queue (FIFO) and you can then read all of your data afterward (be careful not to store hours in there or you'll run out of RAM).  You should also look into "circular buffer" that already exist (examples here: https://decibel.ni.com/content/docs/DOC-13643 and here: https://decibel.ni.com/content/docs/DOC-10355. 

 

Good luck.

 

Olivier

0 Kudos
Message 11 of 13
(416 Views)

Thanks Oliver.

How about for a digital waveform. Is there anything like circular buffer to read all of my digital waveform data afterward

0 Kudos
Message 12 of 13
(411 Views)

Just adapt one of the other VI. 

 

Sometime, you actually have to write some code to get the exact functionalities that you want.... 🙂

 

Olivier

0 Kudos
Message 13 of 13
(407 Views)