colinoflynn / pico-python

PicoScope Python Interface
Other
101 stars 80 forks source link

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

Open eldarintar opened 4 years ago

eldarintar commented 4 years ago

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 ?

colinoflynn commented 4 years ago

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.

eldarintar commented 4 years ago

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.

hmaarrfk commented 4 years ago

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.