NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

regular expressions

Hi,

is there any possibility to check a character output of a *.vi against a regular expression in TestStand? For example a serial number or a software version number.
*.vi output: M001 matches  {M}00[1-9]
There is a build in step type "String Value Test", but this step type allows only checking against a fixed string and not a regular expression. It might be possible to create a customer step type or adapt the "String Value Test",  whereas  creating my own customer step type seems to be a better solution. Indeed I do not know how to build a step type which fullfills the obove mentioned demands. So any help to this problem is appreciated.

Thanks a lot in advance

Nicole




0 Kudos
Message 1 of 4
(3,376 Views)
The idea sounds like a good addition to TestStand 3.5. You might create the test step as a pass/fail and then write a vi that uses regular expressions to check the result of the other vi.
0 Kudos
Message 2 of 4
(3,369 Views)
You can enter suggestions for features in new versions of TestStand or any other NI product through the Product Suggestion Center on ni.com.
0 Kudos
Message 3 of 4
(3,363 Views)
Thanks to both of you. I solved it the way suggested and posted it as a "convenient-to-have-feature".
0 Kudos
Message 4 of 4
(3,360 Views)