LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Numerics not updated unless mouse moved

This question has been asked before but no satisfactory answer seems to have been provided.

Occassionally my CVI application does not update the numerics unless the mouse is moved. My application runs RunUserInterface() in the main thread, and all data acquisition runs in secondary threads. All callbacks in the main thread return quickly.

When this problem occurs (which isn't often) the data acquisition continues OK, but no numerics get updated until the mouse is moved. It is as if RunUserInterface() has a bug in it that can cause screen updates to stop unless, say, a mouse event is received.

I have not been able to identify a set of circumstances that leads directly to this problem, but when it happens I have tried to close
my app but it won't terminate normally, as if RunUserInterface() won't exit properly when QuitUserInterface() is called. I have terminated the app via the TaskManager and killed any NI prefixed processes and then restarted my app. This seems to sort the problem.

My app is standalone, compiled in CVI 7.1 and uses DAQmx7.3. Can this issue be investigated please?

With thanks

Jamie Fraser
0 Kudos
Message 1 of 2
(3,010 Views)
I have not heard of an issue like this one before. This looks like a complex issue that might be hard to reproduce. I would recommend emailing in one of the CVI applications engineers by going to this link and letting us investigate the issue some more.

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(3,010 Views)