Welcome to pyPicoSDK Documentation
Installation
Prerequisites
- Go to PicoTech downloads picotech.com/downloads
- Find your PicoScope in the list and click through
- Download and install PicoSDK for your operating system
Via Pip
- Install the package via pip
pip install pypicosdk
- In your
main.py
addimport pypicosdk
orimport pypicosdk as psdk
Via GitHub (Inc examples)
- Install github repository to folder
git clone https://github.com/JamesPicoTech/pyPicoSDK.git
- In the root directory (where setup.py is) run
pip install .
- In your
main.py
addimport pypicosdk
orimport pypicosdk as psdk
Python requirements
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
Quickstart
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.
Compatibility
Current PicoScope support: - PicoScope 6000E (ps6000a drivers) - PicoScope 3000E (psospa drivers)
Useful links and references
Version Control
pyPicoSDK: 1.6.2
Docs: 0.4.0