NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Expression as function parameters using API

Hello,

 

I'm creating TS sequences from text scripts, using the CVI API.

I usually affect values to step properties using functions like TS_PropertySetValNumber(...) but now I need to affect an expression to a function call parameter, like FileGlobals.Var1.

I cannot affect this expression to the step type property because the expression can be different between two steps instances.

 

Is there any function that can use to do that directly?

 

I attached an picture of what I want to change.

 

Any help would be welcome.

 

Thanks.

 

Stephane

0 Kudos
Message 1 of 2
(2,503 Views)

Have you looked into Evaluate() ?

CTA, CLA, MTFBWY
0 Kudos
Message 2 of 2
(2,465 Views)