LabJackPython icon indicating copy to clipboard operation
LabJackPython copied to clipboard

Optimize u3 process stream data

Open renaatd opened this issue 5 years ago • 1 comments

Optimization of U3.process_stream_data by using list comprehensions. The new version is roughly 4x faster, which allows sampling at 50 kHz on a Raspberry Pi 4.

renaatd avatar Jul 21 '20 16:07 renaatd

Thanks. I'll look at this at some point to evaluate and test.

davelopez01 avatar Jul 21 '20 23:07 davelopez01

Thanks for contributing and the speed up. We merged in the code and made some changes as it didn't handle some stream settings correctly.

davelopez01 avatar Nov 08 '22 19:11 davelopez01

Glad I could help. We sometimes use Labjack on Raspberry Pi for long duration tests, so good performance on Pi is important for us.

renaatd avatar Nov 08 '22 19:11 renaatd