09-30-2019 03:01 PM
The majority of my vi called by test stand, use Sequence Context In (ThisContext). I never close this reference. Will my sequence file eventually have problems in it's run for an extended duration?
09-30-2019
03:20 PM
- last edited on
01-01-2025
10:39 AM
by
Content Cleaner
You shouldn't have to close Sequence Context inside of your code module. General rule of thumb is that if you pass the reference in from TestStand, TestStand will handle closing it (not the VI). If you open a new reference (e.g. SequenceContext.Sequence) inside of a VI, you should close it:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x11cCAA&l=en-US#toc2
Another gotcha is if you duplicate the reference, you need to close it yourself:
https://www.ni.com/docs/en-US/bundle/teststand/page/duplicating-com-references-in-labview.html