I have a multi-threaded VI that collects AI data, processes the data, and opens/closes SSR's. I've developed this in LV 2020 on openSUSE 15.1, where it works fine. Then making a distribution and saving back to LV 2019 and running on Windows 7, the VI behaves VERY strangely. That is, when the UI is stopped via the Stop button, it goes through the stop process, stopping each of the threads... then it restarts! It does not do this in Linux, and I've upgraded the Windows machine to W10, and the same problem occurs. I'm going to put together something really simple and see if the same thing occurs, but any insight would be much appreciated!
Solved! Go to Solution.
Are you accidentally using the "continuous run" button to run it?
("Continuous run" should be renamed to "Zombie mode", i.e. whenever it completes its natural lifespan, it raises up from the dead and starts over 🙂 )
Yah, I try to do that. But I'm at around thirty SubVI's currently. 😉
Zip the project file with all of the VIs and upload them. It's usually good to save back at least a couple of versions if you're using the current version.
"Are you accidentally using the "continuous run" button to run it?"
This turned out to be what was happening. I never thought to ask as I never use the "Run Continuously" button. So it never occurred to me to ask. Thanks for the help Mr. Altenbach!