02-05-2008 02:57 PM
02-06-2008 06:13 AM - edited 02-06-2008 06:14 AM
Hi bolinger,
i think it is very difficult to catch what you want. Can you give us more informations? If you already have two arrays, one for pass/fail and one for Error/NoError then i think the attached picture can help you.
Mike
02-06-2008 11:23 PM
Hi bolinger,
If I understood you correctly...
If you know all of the available pass/fail strings, meaning, if you know all of the available different error codes such as fail, pass, FAIL, FAILED, passed, error, etc... then this can be done by building an array of the different possible error codes, then searching the array by using "Search/Replace string.vi" with the particular status code, the replacement input should just be the same string as the one you are searching for to keep the integrity of the array. If the number of replacements is not 0, then this would mean that that particular error code was found. This is one out of many possible ways to do this, you can also use case structures too.