LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

relaunch in application

I just studied network stream and found some errors in my code if there is no host program in the condition of timeout is -1.

 

So, I want my application to have a chance to fix the finite realtime.

 

However, I would like to know how relaunch current (built not vi) application in current application (just re-starting the application)?

In quitting the application, I close the FP.

(Logically, is it possible to relaunch itself?)

 

It is very tough time to think aobut other's convenience which I have never considered.

But, this is very nice experience to make the perfect program.

0 Kudos
Message 1 of 2
(2,463 Views)

If your network stream is in its own loop, you can just look to see if there's a connection.  If you get the timeout error, close out the connection and try again in the next loop.

0 Kudos
Message 2 of 2
(2,432 Views)