08-31-2007 11:34 AM
08-01-2008 04:00 PM
Hello,
I got a similar problem with the Debug Warning Window. I enabled the "Report Object Leaks" option. When closing TestStand, I can see the Debug Warning Window appear for a fraction of second, but can't get a hold of what is written in there. I'd like to know what are the leaks observed so I can correct the problem in the code. Any idea what can cause this problem?
I'm using :
Thanks,
Sebastien
08-13-2008 07:19 PM
Hello fungiscience,
This warning often occurs when you use the "Variant To Data" vi to convert a variant to a property object. This can cause the memory associated with your wire to never be released. For a more thorough description, you can refer to this KnowledgeBase Article: LabVIEW UserInterface gives PropertyObject Warnings when using UIMessages.
08-15-2008 09:18 AM
Hello Atko,
This may be happening because you are using the .NET example shipped with TestStand 3.5 and intended to be used with the .NET Framework 1.1, but instead using this example with the .NET Framework 2.0.
Fungiscience,
Your object leaks are most likely appearing because you need to close the TestStand Engine reference in your OI prior to closing the OI completely, as described in this KnowledgeBase Article. If this OI was upgraded from TS 3.5 or an earlier version, then this is probably where the leaks are coming from. You need to get an Engine reference in your OI and use the Close Reference VI to close the Engine prior to exiting your application.