12-10-2020 06:58 PM
Your description is insufficient to troubleshoot. You talk about the code skeleton (loops, etc.) but not what they contain. Show us your VI. Do you have greedy loops anywhere? Are you building arrays in shift registers? Do you have autoindexing output tunnels on your while loops?
12-11-2020 03:39 AM
@Haddock01 wrote:
This hour-loop feels bad and sometimes I can see CPU-load goes up till 30%. How can I avoid this? Can I construct the wait-loop in another way?
Haddock, does the cpu load go up directly when you run the program, or after several hours/days?
I have seen many times that simple exe-programs (like log every 10s if my pc is stil running) after a few days consume one cpu core fully. If I press stop button the cpu load is still there. If i quit all labview program including labview development system and start all again cpu is back to very low. For some days...
This problem most often occurs when I run something in labview development system, or if I have the development system running and run a complied program also. But I have seen it with only 2-3 compiled programs running on my development machine. Happily enough I have never seen it on a production machine with no labview dev installed.
I am still at labview 2015, so maybe this is fixed long ago.
Not sure if this is what you see in you project.