Skip to content

The MDF4 converter allows the conversion from ASCII ADMA data (.gsda) to MDF4 data (.mf4) and conversion from MDF4 data (.mf4) to Matlab data (.mat).

License

Notifications You must be signed in to change notification settings

GeneSysElektronik/ADMA_MDF4_Converter

Repository files navigation

ADMA MDF4 Converter

Further Information can be found at the GeneSys Technical Support Center.

Environment information

This setup was implemented and tested with the following conditions:

  • Windows 10
  • Python3

Usage

  1. The help function gives detailed information about the usable commands and features
h
  1. For grouping the data channels in channel groups, use a XML file, that fits the used GeneSys data format.
gsda-mdf-xml $PATH_TO_XML-FILE

If no channel groups are needed, xml can be set to none.

gsda-mdf-xml none
  1. Convert single .gsda files to .mf4
gsda-mdf-file $PATH_TO_GSDA-FILE
  1. Convert all .gsda files in specific directory to .mf4
gsda-mdf-dir $PATH_TO_DIRECTORY_WITH_GSDA-FILES
  1. Convert single .mf4 files to .mat
mdf-mat-file $PATH_TO_MF4-FILE
  1. Convert all .mf4 files in specific directory to .mat
mdf-mat-dir $PATH_TO_DIRECTORY_WITH_MF4-FILES
  1. For closing the converter hit STRG+C or use
q 

Building the Software

Environment information

Tested with the following version:

pip 22.3.1
Python 3.11.1 | Python needs to be >= 3.8.x
pyinstaller 5.7.0

Building Process

Install Python 3

https://www.python.org/downloads/

Install needed tools

pip install pyinstaller
pip install pyinstaller pandas asammdf progress bs4

Build the Software

cd $ROOT_DIRECTORY_OF_ADMA_MDF4_CONVERTER
pyinstaller -D --noconfirm -n "ADMA MDF4 Converter" -i "MDF4Converter.ico" --exclude-module scipy --exclude-module matplotlib --exclude-module PySide6 mdf4.py

The built software is saved to root/dist/ADMA MDF4 Converter.

About

The MDF4 converter allows the conversion from ASCII ADMA data (.gsda) to MDF4 data (.mf4) and conversion from MDF4 data (.mf4) to Matlab data (.mat).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages