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!