08-07-2026 01:21 AM
Hello everyone,
I am experiencing a strange issue with a LabVIEW application that is built as an executable (EXE).
The application is designed to run continuously on a dedicated PC. It consists of a main VI and many subVIs. The subVIs are opened when the user presses buttons on the main front panel. I use the following sequence:
The application has been working reliably for a long time, but after approximately 3 days of continuous operation, the front panel stops responding to any button clicks.
What is interesting is that the application itself does not appear to be frozen:
The only problem is that I can no longer interact with the front panel. None of the buttons respond anymore.
Some additional information:
I am trying to understand what could cause the user interface to stop responding while the rest of the application continues running.
My questions are:
08-07-2026 02:00 AM
An obvious check is whether references (to files, queues, notifiers, vi's, etc...) that are repeatedly and frequently opened are also closed. Memory leaks may also be checked, but they typically drive to a program crash.
In one of my applications (LV2017 and LV2021), I had problems reproducing a wav file using Play Sound File. This function could hang the thread in which it was executed. The symptoms however were different: the application behaved normally until I tried to click on its window: then the window content faded away, Windows reported the application as "not responding", the application memory in Task Manager dropped almost to zero.
08-07-2026 02:13 AM
Thanks for your reply and for the suggestions.
The only references that I don't explicitly close are file references, for example those used by Read Delimited Spreadsheet, or internally by EasyXML. As far as I know, those are handled automatically once the operation is complete.
I haven't used Sound.vi or Play Sound File anywhere in my application, so I don't think the issue is related to that.
08-07-2026 02:51 AM
Do you have millisecond timers? 3 days is very close to a I32 maxing out.
08-07-2026 02:58 AM
@Yamaeda ha scritto:
Do you have millisecond timers? 3 days is very close to a I32 maxing out.
Really? Actually it's more than 24 days, 49 days for a U32.
08-07-2026 03:17 AM
I am only using these two timers in my application.
08-07-2026 03:19 AM
@pincpanter wrote:
@Yamaeda ha scritto:
Do you have millisecond timers? 3 days is very close to a I32 maxing out.
Really? Actually it's more than 24 days, 49 days for a U32.
My bad!