LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW VI Restarting

Solved!
Go to solution

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

Greg R.
0 Kudos
Message 1 of 9
(1,752 Views)

Hi Greg,

 

when you have problems with your VI then you should attach your VI...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(1,745 Views)
Solution
Accepted by topic author Greg_Reynolds

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 🙂 )

Message 3 of 9
(1,743 Views)

It sounds like you are discarding a Window close filter event.


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 9
(1,742 Views)

@JÞB wrote:

It sounds like you are discarding a Window close filter event.


Not really. That would leave it open, but not restart.

0 Kudos
Message 5 of 9
(1,727 Views)

Hmmm, good question. I'll check.

 

Greg

Greg R.
0 Kudos
Message 6 of 9
(1,712 Views)