NewSequenceFile Method

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

Syntax

Engine.NewSequenceFile

Return Value

SequenceFile

Purpose

Creates and returns a new SequenceFile object.

Remarks

Call the Engine.ReleaseSequenceFileEx method on this object before you release it.

This method stores the new sequence file in the internal cache of the engine and adds a load reference to the sequence file. TestStand uses the load reference count to determine when to unload the sequence file from the internal cache of the engine. In addition to this method, the SequenceFile.AddLoadReference and Engine.GetSequenceFileEx methods add a load reference to the sequence file. The Engine.ReleaseSequenceFileEx method removes a load reference.

You must call Engine.ReleaseSequenceFileEx for each load reference you add to the sequence file. When you release the last load reference, TestStand unloads the file from the internal cache of the engine. While unloading the file from the internal cache of the engine, TestStand executes the SequenceFileUnload callback sequence, if applicable.


See Also

Engine.GetSequenceFileEx

Engine.NewPropertyObjectFile

Engine.ReleaseSequenceFileEx

SequenceFile

SequenceFile.AddLoadReference

SequenceFile.Save

WAS THIS ARTICLE HELPFUL?

Not Helpful