From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

cvi TestStand

Solved!
Go to solution

i use cvi for execute a seqFile but after i exite the application i get a warning message : "References to PropertyObjects were not released properly, but a list is not available. "

i close the sequence before exite and i discard all the TSUIObj but the same warrning allways

0 Kudos
Message 1 of 2
(2,163 Views)
Solution
Accepted by topic author corail77

This means that the TestStand engine detected a propertyObject leak on shutdown - an example of this is creating a new sequence file, or loading an existing one without ever calling ReleaseSequenceFileEx.

 

You might be able to track down what CAObjHandle is being leaked using the Resource Tracking Window:

  1. Enable Extended debugging in the Build Options
  2. Open the Resource Tracking Window
  3. Put a breakpoint at the end of your code
  4. When you get to the breakpoint, find any handles that aren't being closed and make sure they get released

You could also see this if your sequence itself, or one of it's code modules has a reference leak - try running it from the sequence editor and see if you get the same dialog.

 

Lastly, you might also get this warning if the engine isn't being shut down properly.

 

Hope this helps!

Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 2
(2,147 Views)