LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create an abort sequence while application is running?

I am trying to create an abort sequence that can be executed with a callback on a panel. If needed, the abort sequence is suppose to shut down the application and release all resources while the application is processing information. The problem is, while the application is running, I cannot push any buttons on the panel. So, how exactly would I do this?
0 Kudos
Message 1 of 2
(2,912 Views)
While a callback function is running, CVI normally doesn't process system events like mouse clicks. You can force it to look at other events with the ProcessSystemEvents() function. Look at the on-line help for ProcessSystemEvents.
0 Kudos
Message 2 of 2
(2,912 Views)