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

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:
    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.