NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Make a sequence call with a variable

Solved!
Go to solution

Hi!

 

I was wondering if there is any way to use a variable to call a sequence. So instead of typing in a specific sequence in the sequence call step, is it possible to use something like CurrentValue.String to choose what sequence should run?

 

Thank you

0 Kudos
Message 1 of 4
(2,789 Views)
Solution
Accepted by topic author q-bertsuit

You can check the checkbox "Specify By Expression" to determine the sequence which should be called. You can use variables in the expression.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 4
(2,786 Views)

Thanks alot!

0 Kudos
Message 3 of 4
(2,780 Views)

Hello,

 

Is it possible to set the checkbox "Specify by expression" in a statement ?

The statement should be in the cleanup or in the setup.

If yes, what is the code line to write ? because this variable is not in 

the variable window so I have no idea about how use this boolean.

 

Thanks

0 Kudos
Message 4 of 4
(2,721 Views)