06-20-2024 10:25 AM - edited 06-20-2024 10:50 AM
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.
06-20-2024 10:43 AM - edited 06-20-2024 10:44 AM
@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 ! 🙂
06-20-2024 10:49 AM - edited 06-20-2024 10:53 AM
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.
06-21-2024 02:23 AM
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 ?
To check which one is filling up, or if the latency come from anything else.