NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Load a sequence in a C# module without have this sequence loaded in TestStand GUI.

Hi,

 

The SequenceFileLoad callback is added to my process model.
When the SequenceFileLoad callback is executed, the constructor of a C# class is called.
Now I want to load a sequence in a C# method, without loading the sequence in TestStand.

The purpose of this is to check version information from the sequence.
The sequence contains a file variable with this information and I want to extract this version information before loading the sequence in TestStand, is this possible?

 

Best regards

0 Kudos
Message 1 of 2
(2,937 Views)

Engine.GetSequenceFileEx(); Make sure you call Engine.ReleaseSequenceFileEx() on it once you are done with it. Be sure to look at the API documentation (you can access it from the help menu) for all of the various options for these methods. If these methods are not sufficient for your needs please explain why in more detail.

 

Hope this helps,

-Doug

0 Kudos
Message 2 of 2
(2,930 Views)