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.3.tar.gz (21.1 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.3-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: test_equipment-1.1.3.tar.gz
  • Upload date:
  • Size: 21.1 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.3.tar.gz
Algorithm Hash digest
SHA256 3a28b3d838d749b5ad59acba1a778c2a950be578fa201183b6f91365c93ed701
MD5 b2926247d67494e0672f610bff1e1789
BLAKE2b-256 a11d4ef4ea17b57a31197417ca159831cf7116d0161f571da306888ca8d01339

See more details on using hashes here.

File details

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

File metadata

  • Download URL: test_equipment-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 25.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 922579bc7a4c1b2a180a4304119c40890207ff2aeeb49cb6063a0a8456016eb9
MD5 c10cf9f3b8ff75fc004587148d5842c2
BLAKE2b-256 521cd01e3237c64a04fb757fc275706e1ff146d18e83e49f8b2312d73293fed1

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