colinoflynn / pico-python

PicoScope Python Interface
Other
97 stars 78 forks source link

Fix: string buffer too short #196

Closed NINI1988 closed 7 months ago

NINI1988 commented 7 months ago

The string buffer for ps4000aEnumerateUnits is too short for my device. My SerialNumber has the type: KWxxx/xxxx. The VariantInfo is 4224A.

Maybe the buffer size should everywhere by increased and not just by 10, maybe directly by 20 or so. Maybe they will increase the serial number even further and the memory consumption of that call is not really a problem imho.

hmaarrfk commented 7 months ago

thanks enjoy the new release 0.7.27