11-12-2025 02:42 AM
I have been having some trouble in exiting a loop in a program I am working on, and suspected that, for some reason, the loop stop button is not really doing anything, so I decided to do a sanity test and create a whole blank program with an empty vi that has nothing but a loop and a stop button to stop it. The loop never stops, and the program never exits. This has been really driving me crazy, as no forum post seems to have ever mentioned such a problem, and I have written programs in LabVIEW many times before. Now, even when I open these old programs, at least the ones that do have a stop button in a while loop, they too have mysteriously stopped working out of a sudden. Am I going crazy and really just missing a stupid little thing, or is this some kind of more complicated problem with LabVIEW? The stop condition is set to stop when True and the button type or latching type has not changed anything, not that it even should anyway, as it should stop when true, no matter what. I tried restarting the PC and labview. I even changed the boolean to a constant that is always either true or false and nothing changed still.
11-12-2025 03:08 AM - edited 11-12-2025 03:09 AM
11-12-2025 08:02 AM
No one will be able to help you unless you attach the .vi.
11-12-2025 08:22 AM
Are you inadvertently pressing Run Continously instead of the standard Run button?
11-12-2025 08:45 AM
do you have the button outside the loop so the value is always constant inside the loop?
11-12-2025 09:22 AM - edited 11-12-2025 09:25 AM
posted verbatim and answered on reddit already.
Picture there was included and the problem was the "continuous run".
11-12-2025 10:15 AM
As a reminder, there is still this idea comment stating that the "continuous run" button should only be shown on the diagram window, not on front panel window.