ratal / mdfreader

Read Measurement Data Format (MDF) versions 3.x and 4.x file formats in python
Other
169 stars 74 forks source link

Wrong type of ev_sync_base_value #89

Closed ro-gro closed 7 years ago

ro-gro commented 7 years ago

As described within the ASAM MDF 4.1 document, the type of ev_sync_base_value is INT64, but you use UINT64.

mdfinfo4.py - line 995: self['ev_sync_base_value'] = self.mdfblockread(fid, UINT64, 1)

Therefore negative event times are wrong.

ratal commented 7 years ago

Hi ro-gro, Thanks for spotting it out. It should already be fixed in latest commit, you can have a look or wait for the next release that should come soon.

ro-gro commented 7 years ago

Hi ratal,

thank you for the fast reaction. I tested the latest version and it works well.