09-02-2008 10:46 AM
I have some test sequences, which are excecuted with the batch model, and others that need the sequential model.
A test operator will run these different sequences from an operator GUI.
My question is: How to change to the correct station model at the start of each sequence?
The question sounds trivial, but I haven't found out how to do. I have searched the help pages, this forum etc.
I have tried to create an expression placed in the Setup section of my sequence:
RunState.SequenceFile.ModelOption = 2, RunState.SequenceFile.ModelPath = "C:\Program Files\National Instruments\TestStand 4.0\Components\NI\Models\TestStandModels\SequentialModel.Seq"
but that doesn't work. The only thing that happens is that the green start button "Test UUTs" turns pink and the tip strip message changes to "Run MainSequence".
I am using TestStand 4.0
09-02-2008 12:00 PM
Hi Atrende,
You can associate a model with a sequence file such that the sequence will always use that model.
1- Open the sequence file that you want to change the model for.
2- Go to Edit>>Sequence File Properties...
3- Click the Advanced tab
4- Change Model Option to Require Specific Model
5- Change Model File to BatchModel.seq (or whatever model is required)
6- Click OK
Now whenever you view this sequence file it will always use that specific model instead of the station model.
Let me know if you have any other questions.
Cheers,
09-03-2008 02:44 AM