LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble Saving Data Over 24-hour period

Hello everyone, 

 

My labview program is having problems saving data over a 24-hour period. I am able to get it to save for the first 2 hours of my test, but it will que up for the remaining 22 hours and won't save. Also, the program tends to slow down and become delayed over time. I attempted to counter this originally by putting operations inside of separate while loops. Hence the three different while loops. Does anyone have a suggestion on how to approach this problem? See attached program for more information.

 

I apologize in advance for the poor programming. I've been working in Labview for the last three months with no programming background prior to starting. Please let me know if you need amplifying information. I put in as many notes as I could to add in context.

0 Kudos
Message 1 of 4
(296 Views)

@Jblanch  a écrit :

Also, the program tends to slow down and become delayed over time.


Hello,

 

It looks like your save process is slower than your acquisition process.

Maybe a FIFO is filling up without being able to empty at the same rate...

 

Don't forget to attach your code ! 🙂

0 Kudos
Message 2 of 4
(289 Views)

Thanks for your response! I intentionally made my acquisition process slower than my saving process so that it wouldn't fill up, but it seems like it still fills up in que. Also, I've noticed the que starts to fill up when I save to an excel file, but not a TVM file. The que seems to start once the Excel file exceeds 200kb.

 

My code is attached now.

 

0 Kudos
Message 3 of 4
(283 Views)

I cannot open VI saved for 2023 LabVIEW version.

Try to save it for 2020 (or prior), so most of us can open it.

 

Have you try monitoring your queues ?

PinguX_0-1718954566366.png

To check which one is filling up, or if the latency come from anything else.

 

0 Kudos
Message 4 of 4
(219 Views)