LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI executable running under Windows XP

Hello,

I have created a distribution kit of a program, which is completely developed with CVI 6.0 and Windows 2000 as OS. With the distribution kit the software was installed on a PC with Windows XP. Now sometimes parts of the panels, especially buttons are not displayed correct. Only the text could be seen, the rest becomes visible, when a mouse-click is done on the button.

Are there known problems like this, as Windows XP is not listed as supported OS for CVI 6.0?

Thank you

Michael
0 Kudos
Message 1 of 7
(3,741 Views)
There is no known problem like this on XP. I develop and distribute applications on XP and have not seen this behavior. Can you reproduce this with an example project or is it just your project?

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 7
(3,741 Views)
Thank you Chris,

unfortunately I can not answer your question, because this behaviour was told to me by one of my customers working with my software. I myself use Windows 2000 on a "slow" machine (450MHz, 128 MB RAM), and everything works fine.

The customer uses a faster PC/Laptop with XP and told me this.

Maybe here is an additional hint: The problem occurs not in the main panel but in a subpanel.

Michael
0 Kudos
Message 3 of 7
(3,741 Views)
Unfortunately, that doesn't really help us narrow down or reproduce the problem. As I said, we haven't seen any issue like this on XP and have done extensive testing with CVI 6.0. If you can reproduce this problem or send us instructions at how to reproduce it, we will be happy to see if we can find the cause in your code or in CVI.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 4 of 7
(3,741 Views)
We also have seen this problem - but only on our laptops, not on our PC's although a customer is using a PC and has seen it. I filled my code with ProcessDrawEvents() function calls which did nothing. We need this fixed quickly.
0 Kudos
Message 5 of 7
(3,741 Views)
More info on the redraw problem from my software tester:

Our application has a base panel that fits the screen and child panels that are loaded into it. The redraw problem only happens when loading a child panel. When you do this, all child panels are usually blank - sometimes you can see the child panel's top bar. If you can find the top bar of the child panel and double click on it, the child panel redraws properly but the background does not. You can then move that panel around and the background redraws only where the panel has been moved to. He also says that minimizing the application and bringing it back will (2 out of 5 times) bring up a blank screen and, again, if you can find where the top bar of the child panel is sup
posed to be and double click on it, the panel will redraw. This will happen after he has been using the software for some time. Then, he won't be able to reproduce it again for a while. It leads me to think that some event queue that handles draw events is losing some of the event items, then clears out and is able to handle the events properly again.

Judy
0 Kudos
Message 6 of 7
(3,741 Views)
Our Networking guy had an idea that seems to be helping. XP has some performance options that can be set in the system settings. The default option is to let windows decide performance issues, but there is another option for best performance. When we chose this, the redraw problem seems to go away. We haven't fully tested the software yet, but we were able to get rid of a redraw problem that we had seen consistantly.

What to do:

-go to "My Computer" and right click
-click on "Properties"
-click on "Advanced Settings"
-click on "Performance Settings"
-change to "Adjust to best performance"

Please let me know if this works for others who are having the same problem.

Thanks,

Judy
0 Kudos
Message 7 of 7
(3,741 Views)