07-02-2009 01:40 PM
I have a program that reports a 1.000 if the value returned is 1.#INF, by using the Val() function.
Can I use Post Expression to check to see if Step.Result.Numeric == 1.000 and if it is then convert it to 99999?
Currently I have Val( Step.Result.Numeric ) in the post expression box. My version of TestStand is too old to use an If statement. In most cases the value returned will not be 1.#INF so I want to make sure I don't convert every result to 99999.
Thanks in advance.
07-03-2009 12:20 AM
Hi,
Try
(Step.Result.Numeric == 1.000) ? (Step.Result.Numeric = 99999) : 0
Regards
Ray