pico-python icon indicating copy to clipboard operation
pico-python copied to clipboard

Help on picoscope module installation and use (list of commands)

Open eldarintar opened this issue 4 years ago • 3 comments

Hello,

I am trying to use python to access my Picoscope 3205D device, but after installing the module, I can’t find any description on how to use it, i.e. a list of all commands and their effects.

Does someone have a documentation on these commands ?

eldarintar avatar Jun 17 '20 14:06 eldarintar

The documentation is really in the source files - it's all Python API, not so much "commands". These just implement the picoscope API, you can see the picoscope documentation for those.

Note this isn't the official picoscope interface either, you may get better support from their forum for more general questions.

colinoflynn avatar Jun 17 '20 16:06 colinoflynn

I found this documentation but it doesn’t help with programming in python. I looked at the examples of the package but none is working, I keep having diverse error messages… The kind of documentation I am looking for is the one that could e.g. help me write such programs : the name on the modules to lobd, how to connect to a device, to set thing and get the data back.

eldarintar avatar Jun 19 '20 09:06 eldarintar

You may wish to start studying: https://github.com/colinoflynn/pico-python/blob/master/picoscope/ps3000.py

the picoscope.py file, calls these little wrappers on the C functions to make the code feel more like python.

We don't know how the picoscopes work internally, so we purposefully avoided writing an kind of documentation.

We feel that the manual you found, along with the python source code we wrote, should be enough to get going.

As always, there are installation issues. We encourage you to search through the issues on github where many users may have already faced similar ones.

hmaarrfk avatar Jun 19 '20 11:06 hmaarrfk