NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Fail String Value Test when the string is found?

I monitor data during a boot up process. If I see a particular string I know the process is corrupt. I want to fail a String Value Test when I see the string. How can I do this in TestStand. We use TestStand 2017. 

0 Kudos
Message 1 of 2
(758 Views)

Tony

 

How long does it take the boot process to complete?  If it is quick you could capture the entire boot process into a string (this all depends how you monitor the boot process) and then do a 'Search for String' looking for your match pattern, in your case if it is not found then it would be a pass.

 

I had done something like this where I captured the boot process by reading a serial port and captured the data in LabVIEW.   Then I used LabVIEW functions to search for a string.   Then used a pass/fail test in TestStand to indicate whether it was found.

 

PH

0 Kudos
Message 2 of 2
(702 Views)