LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

GUI Freeze with multiple ring-ctrl

i am using labwindows CVI 8.0  my application create  a Dynamic GUI and it has many controls(...100 more or less...ring,switch and numeric).
 
up to here everything is fine ......but when i open a ring_ctrl to select a value  my application freeze  almost Instantly, No library Error ,No Debugging Message. 
 
i tried everything but i am out of idea ....please help me.
 
 
 
P.S my application is a debugging Dll.
0 Kudos
Message 1 of 4
(3,388 Views)

Hi gregas,

 

Is this behavior that you’re a seeing only happening when you have 100 controls or more? Or do you see this behavior with any number of controls? Does this “freeze” happen with just ring controls or other controls or even a certain ring control? Is this ring control causing any events to be fired in terms of having a callback function associated with it? If so, you could try placing breakpoints in this callback function to see where the program is working right before it freezes.

 

Hope this helps. These questions should give me a better perspective on your GUI. Thanks

 

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 2 of 4
(3,372 Views)
i tried almost everithing ....i reduce the number of contols to 10 instead of 100, i disable the callback....but still the problem is there
surpislinglty i search the forum for similar problem and i found  an idea for debugging the GUI FREEZE with spy tool form Visual Studio
but when spy read the Messages the GUI is working fine with no freezes.
 
this freeze problem happend only on ring ctrl  and only when i select values it freeze with no error message  all othere control behave normally.
 
so i tried putting in my code some ProcessSystemsEvents()  &  ProcessDrawEvents() but it doesent help.
 
 
Please Help me
 
 
 
 
 
 
 
 
 
 
 
 
0 Kudos
Message 3 of 4
(3,353 Views)

Hi Gregas,

I would like to reproduce the behavior you are seeing so I can get a feel of what's happening. Could you either post your code or a small chunk of code that produces this problem? Thanks

Best Regards,

 

Jonathan N.
National Instruments
0 Kudos
Message 4 of 4
(3,342 Views)