Skip to content

VBA macro for Excel to prune raw data and analyze pass/fail criteria for KNX0600 battery functional test

License

Notifications You must be signed in to change notification settings

webdev-jason/KNX0600-functional

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GitHub last commit Excel VBA Platform GitHub license

πŸ”‹ KNX0600 Functional Macro

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.

✨ Key Features

  • πŸ“ Automated Log Parsing: Directly imports .log files 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.

πŸ› οΈ Requirements

  • 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.

πŸš€ Usage Instructions

  1. Open: Launch the Excel workbook containing the macro.
  2. Navigate: Go to the "Import and Analyze" worksheet.
  3. Run: Execute the macro from the Developer tab or assigned button.
  4. Select: A file dialog will prompt you to choose the .log file for analysis.
  5. Review: The utility will automatically prune the data, perform the analysis, and update the Table of Contents.

πŸ‘€ Author

Jason Sparks - GitHub Profile

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

VBA macro for Excel to prune raw data and analyze pass/fail criteria for KNX0600 battery functional test

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages