ratal / mdfreader

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

channel values are wrong #151

Closed ginseil closed 5 years ago

ginseil commented 5 years ago

Python version

3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:23:52) [MSC v.1900 32 bit (Intel)]

Platform information

Windows-10-10.0.16299-SP0

Numpy version

1.14.3

mdfreader version

2.7.8 (current master branch)

Description

Hi, the mdfreader returns wrong values for any channel of the attached mdf file (v3.10) issue.zip. So for example in case of channel 'Signal3' the returned values are: [0, 75.5, 75.5, ...]. The expected values are: [0, 89, 89, ...].

The expected reults for each channel: Signal1: signal1

Signal2: signal2

Signal3: signal3

Signal4: signal4

ratal commented 5 years ago

Thanks Ginseil, it's a good one, tricky data layout, working on how to improve situation

ratal commented 5 years ago

Hi Ginseil, You can try the dev branch, there was a deep bug I fixed.

ginseil commented 5 years ago

That's great, I'll dig into it on monday :)

Thank you!

ginseil commented 5 years ago

Works like a charm.