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

Fix minor bug in the example streamTest-threading.py #120

Closed m-boesl closed 2 years ago

m-boesl commented 2 years ago

The Class StreamDataReader uses the device object of the global scope. With this fix, the class StreamDataReader is independent of the particular device in this script and can be repurposed in other projects by users.

davelopez01 commented 2 years ago

Thanks for the change. It's pulled in.

m-boesl commented 2 years ago

Great! Thanks for accepting.