control and query the BK Precision 1696 power supply
Python
Switch branches/tags
Nothing to show
Latest commit 76379da Mar 4, 2016
Permalink
Failed to load latest commit information.
README.md initial version Dec 9, 2011
psup.py Fix #2: reverse flags Mar 4, 2016

README.md

BK Precision 1696

This is a Python library for communicating with the BK Precision 1696 power supply via its serial interface. You can control the supply's parameters and take voltage/current readings.

For example:

import psup
with psup.Supply() as sup:
    sup.voltage(1.3)
    volts, amps = sup.reading()
    print '%f V, %f A' % (volts, amps)

For more details, see my blog post about a setup using this library to measure the dynamic power of a smartphone.