04-15-2011 05:28 AM
Hi
I am using 6 LEDs in my application. I am changing the state of LED using SetCtrlVal() function.
But for 3 LED's the change happens after some delay(around 5sec delay). I don't know how to solve
this issue. Please any me on this.
Thanks and Regards
NB
Solved! Go to Solution.
04-15-2011 05:33 AM
Hi,
without further details one can only speculate: do you happen to set your LED state in a callback? In this case it might help calling ProcessDrawEvents() after your SetCtrlVal() function.
04-15-2011 06:06 AM
Hi
Thanks for the reply. ProcessDrawEvents() is changing the status immediately in GUI.
Regards
NB
04-15-2011 08:50 AM
Also - just FYI - this is a known issue that has been resolved in CVI 2010. Calling SetCtrlVal should immediately update and redraw the state of the LED.
NickB
National Instruments