colinoflynn / pico-python

PicoScope Python Interface
Other
101 stars 80 forks source link

EnumerateUnits throws an error if NULL pointer arguments are provided. #183

Open menschmaschine opened 2 years ago

menschmaschine commented 2 years ago

EnumerateUnits throws an error if NULL pointer arguments are provided. Providing a buffer that fits 16 serial numbers to get around this issue. Changed and tested only for the PicoScope 3000A, as this is the only scope I have.

hmaarrfk commented 2 years ago

@yesrgang can you comment on the above PR? I noticed you authored this code: https://github.com/colinoflynn/pico-python/pull/133