LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory Use Increases with HidePanel Function

The memory useage increases by a factor of three simply by hiding the main panel.

You can download the program here to test it:

http://www.ambientweather.com/freedownload.html

In the toolbar is an icon with the temperature - click on it once to hide the program.

When hiding the main menu panel, should the daughter panels be hidden first to avoid this problem?
0 Kudos
Message 1 of 3
(3,229 Views)
Cool application. What version of CVI are you using? I think this was fix somewhere around version 6.

Regards,
Ryan K.
0 Kudos
Message 2 of 3
(3,215 Views)
Hello Ambient2002,

This issue has been addressed and fixed in the latest version of CVI 7.1. It seems like the issue occurred with the older operating systems (95/98/Me). I would suggest updating your operating system or using NT/2000 if upgrading CVI is not possible. If none of these choices are acceptable, I would suggest trying this workaround which has worked for some customers: "the resources are leaked in the call to HidePanel. This can be avoided by calling ProcessSystemEvents before the call to HidePanel takes place, or activating a second panel before hiding the original panel."


Thanks!
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 3 of 3
(3,202 Views)