Skip to content
Whitepaper
July 18, 2025

Report automation via pyDmdReader and Python

Abstract

This whitepaper presents an automated approach to test report generation using Python and its libraries Watchdog, pyDmdReader, and FPDF.

The automated test report generation process utilizing Python and its libraries – Watchdog, pyDmdReader, and FPDF – offers a quick and efficient solution for data analysis and report generation, enhancing the capabilities of OXYGEN. The Watchdog library monitors the data directory and initiates the report generation process upon the completion of a new recording. The pyDmdReader library imports the measurement data into Python, making it accessible for subsequent analysis. Finally, the FPDF library is used to generate tables, integrate images, and export the report in PDF format.

This solution not only saves time but also ensures consistency in report generation. By converting the Python script into a Windows executable using pyinstaller, the script can be executed as a standalone application on any computer. This approach to test report automation serves as a valuable tool for integrating DEWETRON hardware and OXYGEN into a measurement routine, enabling fast and consistent evaluation of test results.

Find out an approach to integrate Watchdog, pyDmdReader and FPDF Libraries into Python:

  • Traditional analysis vs automated test report generation
  • Test report generation with Excel or MATLAB
  • Test report generation with *.dmd data and Python libraries
  • Example script with Watchdog, pyDmDReader & FPDF
  • Simple pyDmdReader example
  • Report automation example: watchdog, pyDmdReader, FPDF
  • Converting the Python script into a Windows.exe
  • and many more