NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Meas_Numericlimit

You could use the following expression (or something similar) as the expression of the COM_OPERATOR column:
 

Logging.StepResult.Comp == "EQ" ? "==" : (Logging.StepResult.Comp == "NE" ? "!=" : (Logging.StepResult.Comp == "GT" ? ">" : (Logging.StepResult.Comp == "LT" ? "<" : (Logging.StepResult.Comp == "GE" ? ">=" : (Logging.StepResult.Comp == "LE" ? "<=" : (Logging.StepResult.Comp == "GTLT" ? "><" : (Logging.StepResult.Comp == "GELE" ? ">=<=" : (Logging.StepResult.Comp == "GELT" ? ">=<" : (Logging.StepResult.Comp == "GTLE" ? "><=" : ( Logging.StepResult.Comp == "LTGT" ? "<>" : (Logging.StepResult.Comp == "LEGE" ? "<=>=" : ( Logging.StepResult.Comp == "LEGT" ? "<=>" : (Logging.StepResult.Comp == "LTGE" ? "<>=" : (Logging.StepResult.Comp == "LOG" ? "No Comparison" : (Logging.StepResult.Comp)))))))))))))))

This expression converts the predefined comparison type string to the corresponding symbol.

Hope it helps.

0 Kudos
Message 11 of 11
(841 Views)