10-19-2007 12:02 PM
Is there a way to programmatically close the current sequence’s window in order to reload it if it was modified or to load another sequence (programmatically)?
10-19-2007 04:20 PM
ApplicationMgr.CloseSequenceFile ( file)
Returns whether the sequence file was successfully closed.
Closes a sequence file.
The Application Manager control attempts to close the sequence file by generating a QueryCloseSequenceFile event. The QueryCloseSequenceFile event confirms whether to release the file and remove the file from the SequenceFiles collection. If the sequence file is running in an execution or if other references to the sequence file exist, TestStand does not immediately unload the file from memory.
file As SequenceFile
[In] Specifies the sequence file to close.
ApplicationMgr.OpenSequenceFile ( sequenceFilePath)
Returns the opened sequence file, if successful. If a type conflict occurs when loading the file and the conflict prevents TestStand from opening the file, this method returns NULL. If an error occurs while opening the file, this method throws an exception.
Opens a sequence file.
This method adds the sequence file to the SequenceFiles collection and generates the SequenceFileOpened and DisplaySequenceFile events.
sequenceFilePath As String
[In] Specifies the path of the sequence file to load. If you do not pass an absolute path, this method searches for the file using the TestStand search paths.
Hope that helps,