|
| 1 | +<p align="center"> |
| 2 | + <img src="https://raw.githubusercontent.com/JamesPicoTech/pyPicoSDK/refs/heads/main/docs/docs/img/pypicosdk-light-300x300.png" alt="Fancy logo"> |
| 3 | +</p> |
| 4 | + |
| 5 | +# Welcome to pyPicoSDK Documentation |
| 6 | +## Installation |
| 7 | +### Prerequisites |
| 8 | +1. Go to PicoTech downloads [picotech.com/downloads](https://www.picotech.com/downloads) |
| 9 | +2. Find your PicoScope in the list and click through |
| 10 | +3. Download and install PicoSDK for your operating system |
| 11 | +### Via Pip |
| 12 | +1. Install the package via pip `pip install pypicosdk` |
| 13 | +2. In your `main.py` add `import pypicosdk` or `import pypicosdk as psdk` |
| 14 | + |
| 15 | +### Via GitHub (Inc examples) |
| 16 | +1. Install github repository to folder `git clone https://github.com/JamesPicoTech/pyPicoSDK.git` |
| 17 | +2. In the root directory (where setup.py is) run `pip install .` |
| 18 | +3. In your `main.py` add `import pypicosdk` or `import pypicosdk as psdk` |
| 19 | + |
| 20 | +## Quickstart |
| 21 | +To test functionality of this library, copy and run the following python script: |
| 22 | +``` |
| 23 | +import pypicosdk as psdk |
| 24 | +
|
| 25 | +scope = psdk.ps6000a() |
| 26 | +
|
| 27 | +scope.open_unit() |
| 28 | +print(scope.get_unit_serial()) |
| 29 | +scope.close_unit() |
| 30 | +``` |
| 31 | +The output should be similar to: |
| 32 | +`JR001/001` |
| 33 | + |
| 34 | +Once tested, try an [example script from github](https://github.com/JamesPicoTech/pyPicoSDK) to get started. |
| 35 | + |
| 36 | +## Compatibility |
| 37 | +Current PicoScope support: |
| 38 | +- PicoScope 6000E (ps6000a drivers) |
| 39 | +- PicoScope 3000E (psospa drivers) |
| 40 | + |
| 41 | +## Useful links and references |
| 42 | +- [Documentation & Reference](https://jamespicotech.github.io/pyPicoSDK/) |
| 43 | +- [GitHub Repo (with examples)](https://github.com/JamesPicoTech/pyPicoSDK) |
| 44 | +- [pypi (src repo)](https://pypi.org/project/pypicosdk/) |
| 45 | +- [pypi-nightly (dev repo)](https://pypi.org/project/pypicosdk-nightly/) |
| 46 | + |
| 47 | +## Version Control |
| 48 | +pyPicoSDK: 1.6.1 |
| 49 | + |
| 50 | +Docs: 0.4.0 |
0 commit comments