LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string mulitiple pattern search

I am trying to parse test data from the serial port of an x86 based system.  A test will be called from LabView (via TestStand) and the system under test will respond with a message in the format:  <test result>: <test message>.  For example, "PASS: CPLD Test" or "FAIL: CPLD Test".  The VI needs to search for the pattern "FAIL" or "PASS" and parse the <test message>.  It will also return a boolean value to indicate test status (to be used by teststand).I have attached a VI that can search for PASS or FAIL, but not both.   Any input would be greatly appreciated.  Thanks!
0 Kudos
Message 1 of 3
(2,370 Views)
Have a look at "match first string". It might just do what you need. 🙂
 
 
0 Kudos
Message 2 of 3
(2,362 Views)
Thanks for the reply - I got it!  Smiley Very Happy

0 Kudos
Message 3 of 3
(2,357 Views)