Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 68985

parsing log file and copying max value data into excel

$
0
0

Hello,

I need to parse a log file and copy the parsed data into an excel sheet (should do it in multiple tabs - one tab with all the data and another main tab should have the Passed data alone). I have attached a sample log file here. Also, out of the 3 measurements in the log file, since 1 and 3 failed, I need to to have the 2nd all_passed data in the main tab of the excel sheet. The code should intelligently look for failures under the same header and copy only the all_passed data in the main tab of the excel sheet. Also, from the same type, it should find the one with the max value for ITEM_6 and copy it in the main tab of the excel sheet

i.e the main tab of the excel sheet should have 

Column_1            Column_2

MY_DATA 099           5.5

MY_DATA 199           4.5

because for MY_DATA 099, 5.5 is the max value (of ITEM_6) out of the two all_passes (it was 5.5 and 2.5) and for MY_DATA 199, 4.5 is the only one with all_pass

thanks for your help

kf


Viewing all articles
Browse latest Browse all 68985

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>