ratal / mdfreader

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

Allow HL blocks for VLSD data. #150

Closed armingensler closed 5 years ago

armingensler commented 5 years ago

I have found bug, which cause a crash when using VLSD string signals. This happens if the data is stored under a HL block.

In this case the vlsd parameter was not properly passed to the actual DL/SD loading code. Since without the vlsd parameter set, SD blocks are ignored, this later leads to crash because of missing data.

I think this patch should solve the problem, but I am quite new to this library and my be missing something.

ratal commented 5 years ago

Thanks for the pull request !