01-10-2019 06:23 PM
I have a VI which controls a few HW by calling their own SW to do measurement every hour all the time. SW (from the HW) sometimes freeze and doesn't give error message. Then the vi freezes there. How to make setting in vi to detect the freeze? I am thinking to add a timer, if time exceed a given limit, it could know vi stuck. But problem is: when vi stuck with the HW, it couldn't run to the timer part.
I am new to Labview. Thanks a lot in advance!
Solved! Go to Solution.
01-10-2019 06:37 PM
How exactly are you calling their software? Is it a DLL call? An ActiveX call? Something else?
Can you tell us the name of the software and maybe link to any public documents explaining how you control it using LabVIEW?
Even better would be if you could post the code with the problem...
01-10-2019 06:37 PM
You could easily do this with a second parallel loop that "monitors" the hardware loop. Then use occurrences, queues, or notifiers to monitor.
01-10-2019 06:41 PM
Great! Thank you so much! 🙂