NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Validate string result by reglar expression

Solved!
Go to solution

Hi

I have a module where I after power up is looking at the output from a COM port on the module.

I got looping in the step so it collect data from the port for maximum 20 sec.

When the text I'm looking for it showing, it stop the data collecting and move on to next step.

If I times out before the expected text is showing, I want the step to NOT fail. I just need the result an will handle it later in the sequence.

Is that possible to do?

 

Thanks in advance

Bjarne

0 Kudos
Message 1 of 3
(1,957 Views)
Solution
Accepted by topic author Briton

Hi,

 

From what I understand, you are currently trying to prevent a pass or fail from occurring. 

 

To prevent this to happen, you can replace the test step to an action step.

This would allow the step to finish and if it were to fail, the step would error out rather than a fail.

 

I hope this helps.

0 Kudos
Message 2 of 3
(1,881 Views)

Thanks.
I have done that and it works;)

0 Kudos
Message 3 of 3
(1,871 Views)