library for controlling Voltcraft PPS power supplies
Project description
voltcraft.pps
Python module for controlling Voltcraft PPS and DPPS powersupplies.
Available at www.conrad.com (PPS)
and www.conrad.com (DPPS)
from voltcraft.pps import PPS
supply = PPS(port="/dev/ttyUSB0", reset=True) # in Windows change string to COMx (eg COM4)
supply.voltage(10.0)
supply.current(2.0)
supply.output(1)
Install via:
pip install voltcraft
There's no documentation, but the module is tiny, so please just read the voltcraft/pps.py :sparkling_heart:
It is also possible to use this module as a command-line tool
$ py -m voltcraft COM3
MODEL=DPPS3230
IMAX=31.5
VMAX=32.2
IMULT=10.0
limits=(32.2, 31.5)
reading=(14.01, 2.13, 'CV')
$ py -m voltcraft COM3 off
$ py -m voltcraft COM3 read
reading=(3.14, 0.0, 'CV')
$ py -m voltcraft COM3 read
reading=(1.7, 0.0, 'CV')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
voltcraft-1.6.1.tar.gz
(8.2 kB
view details)
Built Distribution
File details
Details for the file voltcraft-1.6.1.tar.gz
.
File metadata
- Download URL: voltcraft-1.6.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 158f9e3565d494075d8831941b3455d4363e51150f0fa7b96e4f886e38fb0776 |
|
MD5 | 880975f80a10939785bfd561cc4fca3a |
|
BLAKE2b-256 | 7ed99fd2efc42dfca7cf846e52842dda52b27a154d86a57bdcf0968c0ca5cb7e |
File details
Details for the file voltcraft-1.6.1-py3-none-any.whl
.
File metadata
- Download URL: voltcraft-1.6.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e039a1aed83b428e05f8ccdb479db1d7fec7bf71edaf910c9ec457ab44841e73 |
|
MD5 | e91c850f0071f0722af77817cccf7933 |
|
BLAKE2b-256 | 5de785ae7fa5031a6456d3f19da985454e1c121e8656139775eb0cfe03d64326 |