LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

software watchdog in labview

Halo,

I have the problem with a ftp-sub-VI and a device-function which
sometimes does not react anymore.
I like to run an other process parallel to check if the sub-VI still
works and if not the sub-VI should be stopped. But I found no
possibility to stop only a sub-VI. If I use the stop-VI the main-VI is
also stopped.
I am thinking about something like a watchdog to do this job.
Anyone has an idea?

Nikolai Maris
0 Kudos
Message 1 of 2
(3,117 Views)
You can stop a subVI. Open a reference to that VI and then you can use the method Abort VI. However, I'm not sure what you're going to monitor to see if the subVI is no longer reacting. Is it generating an error or something else? You're going to have to determine what the problem is in the subVI. Trapping an error condition in the subVI and either correcting the error condition or exiting gracefully inside the subVI might be a better approach.
Message 2 of 2
(3,117 Views)