LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI 8 IDE panel draw glitches

This gets to be VERY annoying...
1.  Drop ANY ring control onto a panel.  Notice the checkering indicates focus--just like usual.
2.  Start editing the control to add a label/value pair
3.  Click ok when done (to return to the panel)
4.  Change focus to any other control, or remove focus from the ring control.
 
Result: the checkered focus area is now solid black.  The black only goes away when you cause the panel's MDI sheet to be redrawn or until you drop something else over the ring control and then move it back to its original spot (again, to force the redraw of the panel area around the ring control).  This also works in certain situations for the new tab control.  Basically, it looks like it might correlate with any controls that have been graphically modified/added since CVI 7.
 
I have also noticed some more glitches related to the IDE not drawing all of its areas during a breakpoint debug.  There was a similar set of glitches in the CVI 7 IDE, but all of those seem to have been fixed in CVI 8.  I am having trouble remembering what I had to do to get it to mess up.  Will post again if I isolate the steps to reproduce this.
 
Orlan
0 Kudos
Message 1 of 7
(3,488 Views)

Greetings cosmo

I didnt see this happen on my system. Does this show up only during editing the controls or at run-time as well?If you do isolate the problem, please let us know.

Thanks

Bilal Durrani
NI
0 Kudos
Message 2 of 7
(3,479 Views)
Hi Bilal,
  Attached is an example of what I am seeing.  This only happens in the IDE during development.  I have also seen it happen to the classic-style ring controls, as well as classic decorations on occasion.  Obviously this must not be limited to just the 'adjusted' or 'improved' controls.
 
Orlan
0 Kudos
Message 3 of 7
(3,475 Views)
Cosmo, something very similar to your case happens on my machine too with cvi 7 and 6: it seems as if sometimes the user interface editor "forgets" the lines on the border of the controls when controls loose focus. On my machine it is a very rare phenomenon and I never succeed in finding some repetitive condition that triggers it, but it happens indeed!
I found that saving the UIR clears the solid lines, as if panels and controls were redrawn from scratch. If I don't remember badly, simply reducing the panel to icon does not solves the problem.
 
Hope this can help a little.
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 7
(3,460 Views)

Hi Roberto,

  Glad to see that I'm not the only person with this problem.  I never saw it in CVI 6 or 7 at all, but it is as big as day in CVI 8 for me.  It doesn't matter if I reboot the computer or how many times I restart CVI.  It is perfectly repeatable for ring controls (even on the first attempt) and somewhat repeatable for other controls.  I have learned to do the 'restore/maximize' thing to get it to go away...

Orlan

0 Kudos
Message 5 of 7
(3,452 Views)
Orlan, have you tried loading CVI8 on another machine? Does it repeats this strange behaviour?
 
I'm asking you because what I observed on my machine doesn't happen on other computers I tried to load cvi on. But my equipment has some strange behaviour in other moments too: when I run a cvi7 program in the IDE the screen turns completely black for some seconds while the program is being compiled. I observed this exact thing when compiling applications for palm using cygwin and palm devlopment suite: again I didn't saw this thing on other computers so I ended up thinking of some uncertain interaction between compilers, OS and video card, but it's only a blind shot!


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 6 of 7
(3,434 Views)
Orlan, Roberto:

This is something that I've been seeing occasionally since at least CVI 6.0. It's pretty rare, but it does happen once in a while. It's been very frustrating because, like Roberto said, I've never been able to reproduce it reliably on any one computer, and so it has been impossible to debug. I would love nothing more than to be able to reproduce it consistently, and hopefully fix it, but so far it's been very elusive. I tried Orlan's recipe from this thread, but alas, no luck.

If anyone reading this has any prescription for reproducing this consistently, please post it here. It might still only happen with that particular video driver, but I'll certainly give it a try.

Thanks,

Luis
NI
0 Kudos
Message 7 of 7
(3,409 Views)