labjack / LabJackPython

The official Python modules and classes for interacting with the LabJack U3, U6, UE9 and U12
https://labjack.com/support/software/examples/ud/labjackpython
MIT License
117 stars 79 forks source link

Prevent pack error when readBytes != numBytes. #111

Closed mickp closed 5 years ago

mickp commented 5 years ago

Fixes issue #110 .

davelopez01 commented 5 years ago

I went with the solution from this commit instead to prevent the partial reads (causing the pack error) with stream settings mentioned in issue #110.