10-29-2007 05:30 PM
10-30-2007 10:39 AM
Engine.GetSequenceFileEx ( sequenceFilePath, getSeqFileFlags = GetSeqFile_OperatorInterfaceFlags, handlerType = ConflictHandler_Error)
A SequenceFile object.
Returns the SequenceFile object for the sequence file specified by the sequenceFilePath parameter.
Loads the sequence file from disk, if necessary. Call ReleaseSequenceFileEx on this object before releasing it.
This method loads the sequence file into the engine's internal cache 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 engine's internal cache. In addition to this method, the SequenceFile.AddLoadReference and Engine.NewSequenceFile methods also 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 that you add to the sequence file. When you release the last load reference, TestStand unloads the file from the engine's internal cache. While unloading the file from the cache, TestStand executes the SequenceFileUnload callback, if applicable.
You can use SequenceAdapter.GetSequenceFile to examine the contents of a sequence file without running load and unload callbacks, without preloading modules, and without merging types.
Hope that helps,
10-30-2007 12:38 PM
10-31-2007 03:11 PM
10-31-2007 03:56 PM
10-31-2007 04:28 PM