01-17-2020 01:53 AM - edited 01-17-2020 01:56 AM
Hi all,
I'm getting an error message about not closed references after creating a sequence file in LabView:
References to PropertyObjects were not released properly.
Total number of objects: 49
Number of top-level objects: 5
Note: Some top-level objects may be included if they are referenced by
an incorrectly released top-level object. For example, an unreleased
SequenceContext object references a SequenceFile object.
The following top-level objects were not released:
Files [1 object(s) not released]
SequenceFile #1:
Path: D:\Project1.seq
Type Definitions [1 object(s) not released]
Type Definition #1:
Name: Path
PropertyObjects [2 object(s) not released]
PropertyObject #1:
Type: Number
Value: 0
PropertyObject #2:
Type: Number
Value: 0
And the following uncategorized objects:
TypeUsageList
Can you please help me finding out what goes wrong here?
Solved! Go to Solution.
01-17-2020 09:51 AM
The following top-level objects were not released:Files [1 object(s) not released]
SequenceFile #1:
Path: D:\Project1.seq
You didn't close the reference to the sequence file returned by NewSequenceFile. Try something like this:
01-20-2020 12:56 AM
Thanks, WireWeaver,
I thought that calling ReleaseSequenceFileEx would do that.
Now I don't get error messages anymore.