Solution
This message is showed when the reference to a sequence has not been released. This can be a variety of objects, but check the
Sequences [X object(s) not released] for details of which references have not been released.
To resolve this:
- Call the Engine method ReleaseSequenceFileEx after explicitly opening a sequence file using the NewSequenceFile or GetSequenceFileEx methods.
- Verify the options you have selected for the GetSequenceFileEx and ReleaseSequenceFileEx functions after referring to the linked documentation above.
- Refer to the TestStand API examples for a guide. These are found in C:\Users\Public\Documents\National Instruments\TestStand <YOUR VERSION>\Examples\TestStand API\Executing Sequences Using API. Choose the folder that matches your language. For Python, refer to .NET as the closest example.
Alternatively, you can hide this behaviour by disabling the option. But this only prevents the pop-up. Leaving open references could lead to a memory leak in your deployment.
To disable the feature:
- Open TestStand.
- Select Configure >> Station Options...
- Select the Preferences tab
- Select Debug Options...
- Uncheck the Report Object Leaks box
Refer to
Debug Options Dialog Box for further information.
If using LabVIEW or LabWindows/CVI, make sure you are using LabVIEW and TestStand versions compatible. Check the compatibility in
TestStand Compatibility with LabVIEW and LabWindows/CVI .