An Excel-based automation utility designed to prune raw telemetry data and analyze pass/fail criteria for the KNX0600 battery functional test. This macro processes .log files generated by the Texas Instruments bq Gas Gauge Evaluation Software, transforming raw data into a structured, actionable report.
- π Automated Log Parsing: Directly imports
.logfiles and populates temporary processing sheets to maintain data integrity. - π RSOC Analysis:
- Searches telemetry for the first valid Relative State of Charge (RSOC) value.
- Priority-based search starting at 100%, cascading down to 98%.
- Automatically prunes all trailing data rows once the target value is located.
- β‘ Capacity & Time Validation:
- Full Charge Capacity: Validates against a minimum threshold of β₯ 1840 mAh.
- Total Elapsed Time: Calculates test duration and validates against a maximum of β€ 3 hours.
- π Visual Results Display:
- Generates a final PASS/FAIL summary with dynamic cell coloring (Green/Red).
- Automatically navigates to the summary sheet upon success or stays on the failure result for immediate review.
- π Table of Contents: Maintains a running, hyperlinked list of all processed test worksheets for rapid navigation.
- Host: Microsoft Excel 2016 or later (Windows).
- Data Source: Output files from TI bq Gas Gauge Evaluation Software.
- Compatibility: Optimized for 64-bit Excel installations.
- Open: Launch the Excel workbook containing the macro.
- Navigate: Go to the "Import and Analyze" worksheet.
- Run: Execute the macro from the Developer tab or assigned button.
- Select: A file dialog will prompt you to choose the
.logfile for analysis. - Review: The utility will automatically prune the data, perform the analysis, and update the Table of Contents.
Jason Sparks - GitHub Profile
This project is licensed under the MIT License - see the LICENSE file for details.