Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miniware MDP-M01 Python control

PyPI

Control paired Miniware MDP-P906 power supplies through a USB-connected MDP-M01.

python3 -m pip install miniware-mdp-control

Command line

mdp-control status
mdp-control ch1 9V 750mA on
mdp-control ch1 off
mdp-control ch1 9V 750mA on ch2 5V 1A on ch3 off

Actions are case-insensitive and may appear in any order within a channel clause. A command containing on may energize connected hardware.

Python API

from mdp_control import ChannelCommand, MDPController

with MDPController() as mdp:
    status = mdp.apply(ChannelCommand(1, voltage=9.0, current=0.75, output=True))
    print(status.channels[0])

The complete documentation is maintained in the mdp_control module docstring. View it from the command line or through Python's documentation tool:

mdp-control --help
python3 -m pydoc mdp_control

About

Control Miniware MDP-P906 power supplies through a USB-connected MDP-M01.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages