NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Change Station Model at sequence start?

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

0 Kudos
Message 1 of 3
(3,237 Views)

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,

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(3,236 Views)
Thanks a lot!
0 Kudos
Message 3 of 3
(3,219 Views)