LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView Scan To String Function

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

Download All
0 Kudos
Message 1 of 4
(1,032 Views)

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.

Message 2 of 4
(988 Views)

just read your reply 🙂 Thanks for giving me a bright idea, I now have some ideas to start.

Message 3 of 4
(976 Views)

I'd use a regex search and replace to remove the unwanted lines

 

PassFail.pngPassFailSnippet.png

Download All
0 Kudos
Message 4 of 4
(946 Views)