- Go to PicoTech downloads picotech.com/downloads
- Find your PicoScope in the list and click through
- Download and install PicoSDK for your operating system
- Install the package via pip
pip install pypicosdk
- In your
main.py
addimport pypicosdk
orimport pypicosdk as psdk
- Install github repository to folder
git clone https://github.com/picotech/pyPicoSDK.git
- In the root directory (where setup.py is) run
pip install .
- In your
main.py
addimport pypicosdk
orimport pypicosdk as psdk
When installing pyPicoSDK, the following dependency is automatically installed:
- numpy
To run the provided examples, the following additional Python packages are required:
- matplotlib
- scipy
- numpy (installed automatically with pyPicoSDK)
To install the example depedancies use one of the following commands:
pip install matplotlib scipy numpy
or
pip install -r requirements.txt
To test functionality of this library, copy and run the following python script:
import pypicosdk as psdk
scope = psdk.ps6000a()
scope.open_unit()
print(scope.get_unit_serial())
scope.close_unit()
The output should be similar to:
JR001/001
Once tested, try an example script from github to get started.
For our full getting started guide, click here to go to our full knowledge base article.
Current PicoScope support:
- PicoScope 6000E (ps6000a drivers)
- PicoScope 3000E (psospa drivers)
pyPicoSDK: 1.6.2
Docs: 0.4.0