thebestpatrick / nda-extractor

Extracts data from Neware binary files (.nda)
BSD 2-Clause "Simplified" License
9 stars 2 forks source link

nda-extractor

Extracts data from Neware binary files (.nda)

bin2csv.py: Library functions to allow for the easy converting of binary .nda files (from Neware/MTI) into easy to process csv files. Can be run from the command line as well, with ./bin2csv.py [binary file] [output csv]

graph.py: Library functions to allow for the easy graphing of data in the output csv format.

reportgenerator.py: Combines bin2csv and graph to generate a full report, with (somewhat limited) metadata extracted as well. Can be used as a library, or called from the command line. Right now, when called with ./reportgenerator.py [binary file] it will create a directory called 'reports/' and then write the full report into that.

Planned functions:

Notes about headers

0000:0000-0000:0070 = Software id and date with some other stuff

0000:0070-0000:008D = MTI hardware version?

0000:008E-0000:07F0 = blank/padding

0000:0800-0000:082D = Machine and channel identification of some kind.

0000:084E-0000:0860 = date and time. format : YYYY.MM.DD HH:MM:SS

0000:0876-0000:08FD = User and cycling id.

0000:08FD-0000:08FF = Data Start marker