02-23-2018 09:09 AM
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.9
02-26-2018 02:37 AM
I am not sure if the expression is available only the value.
02-26-2018 02:56 AM
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 VI
02-26-2018 03:19 AM
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.
02-28-2018 01:44 AM
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.