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)
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.5.3.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for voltcraft-1.5.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e314899eda66b686b23d4e68602ee39fd84245aa7a417b2035a3abb817a7395f |
|
MD5 | 70b2a7590296d98f497d490bfd9eadff |
|
BLAKE2b-256 | 2cd177b056071820da016bb90e992ac5cf31651ad3829ae67b658922ef62cd9f |