NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to execute a dynamic expression (string) in a statement ?

Good afternoon everyone,

 

Here is my problem:

I need to manage a statement that can have different expressions depending on the results of the previous steps.

I can't use a Select / Case, because the quantity of different cases are almost infinite.

 

So my idee is to build the specific expression in a string (by concatenating lots of data), but how tell TestStand the string is an expression ? How execute the expression contained in the string?

 

Thanks for your help!

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

I think you need Evaluate("String")


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 2 of 3
(3,798 Views)

Thank you for your answer. I'll try it and come back to tell you.

0 Kudos
Message 3 of 3
(3,794 Views)