From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Bjasen

String value test - Comparison type (Not equal / No comparison)

Status: New

It would be very nice if the string value test could have added a couple of new comparrisson types.

 

No Comparison:

I often use the post expression "Step.Limits.String = Step.Result.String" to achive a "No comparison" type of test.

 

Not equal / Not empty (=!  /  =! "")

Some times the "No comparison" method is not enugh if there should be a response, then you need a Not equal or Not empty comparison.

 

Some times a comparison against a regular expression could be usefull as well. functioning like the match regular expression in LabView.

 

 

2 Comments
Elaine_R.
Active Participant
Bjasen
Member

The first part "No comparison" is identical to the post you link to.

 

The "Not equal / not empty" is an additional option.

 

BR

Bjasen