Skip to content

PicoScope 2206B serial null termination conversion error #212

Description

@csi-bbio

Hi Colin,
we found an error in the picoscope/ps2000a.py file regarding the serial number handling and fixed it in my fork of your repo.

This is where the issue is located, in picoscope/ps2000a.py (version 0.7.31), in method _lowLevelOpenUnit() :

Image

Then inside "create_string_buffer()"...

Image

... which raises in Visual Code debugger :

Image

The solution is to correct _lowLevelOpenUnit() :

Image

as it's already done in ps5000a.py, for example.

The Fix is implemented in #213

Best regards
Claudio

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions