NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Access Numeric limit test- limit expression in vi

Hi,

I am super new with Teststand 

I have a numeric limit test step wherein the limits are multiplication of 2 floats. I would like to access the limits in VI for simulation purposes. I know that I can access the numeric value with GetValNumber property but I am unable to find the property for an expression like this 0.151*0.9NumericLimitTest.PNG

0 Kudos
Message 1 of 5
(2,643 Views)

I am not sure if the expression is available only the value.

0 Kudos
Message 2 of 5
(2,614 Views)

When IO try to read the value via property nodes, it gives me 0 as in the attachment. When I tried it with just a number (not a multiplication of 2 floats) as limit and it works fine then. I am not sure which property to use in the VIPrpoperty.PNG

0 Kudos
Message 3 of 5
(2,611 Views)

I see the same here.  I have not used expressions in limits before but I am guessing we get that behaviour because the limit expressions are not evaluated until after the code module.

0 Kudos
Message 4 of 5
(2,608 Views)

You need to use Step.Limits.LowExpr and HighExpr. There are Booleans Step.Limits.UseLowExpr and UseHighExpr to check if an expression is being used.

 

 

Regards
Ray Farmer
Message 5 of 5
(2,570 Views)