LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Timer events prevent Windows minimisation

Is there any way to prevent Timer events from causing the CVI app to be restored when the application has been minimised?
I am using timer events to regularly check for activity on a serial port. I guess the obvious solution is to install a comms callback to do this but I wondered if there is another solution if for example I was not using a serial port yet still wanted to do some task at regular intervals even when application is minimised.
0 Kudos
Message 1 of 3
(3,051 Views)

I have not seen this before. Try using the timer sample under ..\samples\userint called timer. It uses a UI timer andI didnt have problems minimizing it.

Bilal Durrani
NI
0 Kudos
Message 2 of 3
(3,044 Views)
Problem solved - it wasn't the timer event after all. In the associated callback I called SetActivePanel() and that was the problem 
0 Kudos
Message 3 of 3
(3,032 Views)