Skip to main content

Interfaces to various pieces of test equipment.

Project description

Test Equipment

This python module allows the user to control the following test equipment via a USB connection. The test_equipment python module is primarily aimed at providing an easy way of interfacing with test equipment.

DC Power Supplies

  • HMP2030 PSU
  • TENMA 72-2550 PSU
  • ETMXXXXP

The psu_ctrl command line tool is installed when this python package is installed. It is not aimed at being a fully functional tool to control the power supplies but to provide example code that details how a user may incorporate PSU control into their applications.

Before using psu_ctrl to control power supplies the configuration must be set using the 'psu_ctrl -c' command line options. This should be executed with the power supply connected to the PC. The user should then set parameter 1 to set the power supply type connected and set parameter 2 to set the PSU connection string.

Once configured the user can turn PSU outputs on/off and set voltages and current limits.

Command line help is available for the psu_ctrl command line tool as shown below.

usage: psu_ctrl.py [-h] [-d] [-c] [-v VOLTS] [-a AMPS] [-o OUTPUT] [--on] [--off] [-r]

A description of what it does.

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           Enable debugging.
  -c, --config          Configure the PSU parameters.
  -v VOLTS, --volts VOLTS
                        Set PSU voltage (default=3.3).
  -a AMPS, --amps AMPS  Set PSU current limit (default=1.0).
  -o OUTPUT, --output OUTPUT
                        The PSU output to use (default=1).
  --on                  Turn the output on.
  --off                 Turn the output off.
  -r, --read            Read the output current/power.

Supported Power Supplies
Type   Description
0      Dummy PSU
1      HMP2030 PSU
2      TENMA 72-2550 PSU
3      ETMXXXXP

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

test_equipment-1.1.4.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

test_equipment-1.1.4-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file test_equipment-1.1.4.tar.gz.

File metadata

  • Download URL: test_equipment-1.1.4.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-52-generic

File hashes

Hashes for test_equipment-1.1.4.tar.gz
Algorithm Hash digest
SHA256 1b5cabb003ee0b4a7e3976bbeebae19a5a5042d164714aa0aa0d76c8cbf02c0e
MD5 b96e4e1f827a09fdb5fb68f1aa03bcce
BLAKE2b-256 16feffa112a106831127680e7b42c9d97addc21dcd93baa8fffef953b9db8dd9

See more details on using hashes here.

File details

Details for the file test_equipment-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: test_equipment-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-52-generic

File hashes

Hashes for test_equipment-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4098d5bfeb77406964e3e59be7a7065359c22a69a10f3a28c1862c6931b46f64
MD5 e3e5589a8d6e3dcb6f6da8c2d0021750
BLAKE2b-256 255974d62aa870817f4aa00e3106ba62c80b286dd04e65ca87fd3808dac44494

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page