04-07-2022 11:40 AM
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!
Greg
Solved! Go to Solution.
04-07-2022 11:45 AM
04-07-2022 11:45 AM - edited 04-07-2022 02:22 PM
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 🙂 )
04-07-2022 11:46 AM
It sounds like you are discarding a Window close filter event.
04-07-2022 12:10 PM
@JÞB wrote:
It sounds like you are discarding a Window close filter event.
Not really. That would leave it open, but not restart.
04-07-2022 01:13 PM
Hmmm, good question. I'll check.
Greg
04-07-2022 01:15 PM
Yah, I try to do that. But I'm at around thirty SubVI's currently. 😉
Greg
04-07-2022 02:13 PM
@Greg_Reynolds wrote:
Yah, I try to do that. But I'm at around thirty SubVI's currently. 😉
Greg
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.
04-07-2022 02:25 PM
"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!