LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Blank display panel problem

I have an application which collects data from several sources, displays the data on multiple panels, and writes the data to disk. This program also uses the CIVIC Web Server. The program has run correctly for days and even weeksEventually the display panels all go blankThe panels are still there but contain only white spaceThe collection and writing of data to disk, however, continuesWhen the program is stopped (from the task bar or task manager) and restarted, it performs normally again.

 

Has anyone else seen this kind of behaviorI suspect that it might have something to do with the web server, but I have another very similar program running on a different PC also using the web serverThis program does not have the blank screen problem.  

 

Thanjs for any light you can shed on this.

 

Bruce Andrews 

0 Kudos
Message 1 of 8
(3,941 Views)

Bruce,

 

Have you checked your CPU usage while the program is running? If your resources are maxing out then the panels may not be able to update or display.

 

Regards,

 

Steven Zittrower

Applications Engineer

National Instruments

http://www.ni.com/support

0 Kudos
Message 2 of 8
(3,917 Views)

Did you check if the 'OK' phase of your program is something like 49 days? Then it might be related to a timer issue...

 

Wolfgang

0 Kudos
Message 3 of 8
(3,912 Views)

We are seeing the same thing, and without the use of a server, in our release builds that go to testing.  It is intermittant but does not recover to the normal panel when it happens.  It seems to show up more often than you are seeing.  This is on two different machines with different speed CPUs and different size RAM.  I never see this in debug mode while I'm developing and one of the machines is faster and has more RAM than mine, the other is the same speed with less RAM.  It looks like the redraw function has some kind of bug.

 

Judy

0 Kudos
Message 4 of 8
(3,468 Views)

PS.  I am running CVI2010 on Windows XP.

 

Thanks,

 

Judy

0 Kudos
Message 5 of 8
(3,465 Views)

Hello Judy -

 

I recently saw this in a CVI program I had written, and in my case, the cause was a memory leak in my program.  If you open task manager when you see this white screen, how much memory is the CVI application using?? 

 

I would also make sure you've enabled extended debugging on your development machine in debug mode, which should show you any memory leaks you may have.  Just enable extended debugging through the Options»Build Options dialog, and then run your program under the debugger.  You should allow the program to exit normally.  If the Resource Tracking window then displays, it is an indication of resources that need to be cleaned up.  For more information, refer to this document.

 

NickB

National Instruments

0 Kudos
Message 6 of 8
(3,456 Views)

Greetings,

 

Here's a few questions that should hopefully help clear up exactly what kind of issue you're running into. Did you check to see if your memory or cpu usage is being maxxed out in the task manager? What % of the CPU is the program using when the panel issue arises? Is your program particularly resource intensive? How much data are you trying to display on your front panel?

 

Please let me know, thanks.

Product Support Engineer
National Instruments
0 Kudos
Message 7 of 8
(3,455 Views)

Hi James,

 

These questions are hard to answer since this never happens when I am developing or testing in debug mode.  I will forward them to my tester and hopefully we can get some answers.  As for the data.  Each panel has about 6-10 controls that get populated when the panel comes up.  The incoming data is being handled by an Async Timer that we've been using forever.  These particular applications don't go any graphing, simply plop the data into an array and then write it to a file if the user chooses to save the data.

 

Thanks,

Judy

0 Kudos
Message 8 of 8
(3,449 Views)