From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,782 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,779 Views)

Thanks alot!

0 Kudos
Message 3 of 4
(2,773 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,714 Views)