02-07-2021 01:04 AM
Hi, I want to ask any ideas on how can I make this in Labview using String functions.
here is the idea.
my input is from a text file with various test parameters, if I chose FAIL as my selection, my output would be all Test parameters and their corresponding values on a separate textfile. see attached file as example
02-07-2021 02:25 AM - edited 02-07-2021 02:26 AM
Read the file as lines into a 1D array of strings. One line per array element, then iterate over all lines. Check each line if it contains either "Part ID:" or "FAIL" and guide a conditional autoindexing tunnel accordingly. Write back to a file.
See how far you get.
02-07-2021 02:42 AM
just read your reply 🙂 Thanks for giving me a bright idea, I now have some ideas to start.
02-07-2021 12:56 PM
I'd use a regex search and replace to remove the unwanted lines