LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TSUI_ApplicationMgrShutdown doesn't close properly

Hello,
my LabwindowsCVI program needs to close TestStand's ActiveX handler, but it only works when I press twice on my close switch/button that runs TSUI_ApplicationMgrShutdown.
I've tried programmaticaly to run TSUI_ApplicationMgrShutdown twice when I press close but it doesn't work.
I've tried to run a cycle that ends only when canExitNow given by TSUI_ApplicationMgrShutdown return TRUE,  but it runs the cycle continuosly.
How do I close TestStand using Labwindows without having to click two times on the close button?
Thanls in advance.
Regards,
 
Daniel Coelho
 
Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 1 of 1
(2,587 Views)