LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Slow UIR !

What can be the cause. That my UIR is too slow. On my
UIR is an numeric_slide, the value can be changed with the up and down arrows.
Sometimes when my application start the value change fast as usually, and sometimes the values changes slow ( and remain slow).
I dont understand it at all ! there are no other Task running.No Stack overflow.No misplace pointer.

Ideas ? Thanks a lot David.
0 Kudos
Message 1 of 3
(3,022 Views)
Ok, with ProcessDrawEvents () I fixed the problem.
Strange thing will remain... if I dont place ProcessDrawEvents in my code ... my application/UIR
run all the time in slow motion, also when my application dont call this specific code part...
0 Kudos
Message 2 of 3
(3,022 Views)
David,

Yes, I think it was a good idea to place a ProcessDrawEvents() into your code, as it can force updates to the user interface to be processed, and thus updated.
As for the code running slowly, I am not sure of the root cause of this. Maybe you could post a chunk of your code up here, and I could look at it, to see if I can find anything. Thanks, and have a great day.

Daniel McChane
Application Engineering
National Instruments
0 Kudos
Message 3 of 3
(3,022 Views)