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
Digital Multimeters
R&S HM8112-3 Precision Multimeter
The dmm_hm8112 command provides an interface to this meter via a US port.
dmm_hm8112 -h
usage: dmm_hm8112 [-h] [-d] [-l] [--port PORT] [-s] [-f FUNCTION] [-p PARAMETER] [-g]
A command line interface to a R&S (Hameg) 8112-3 6.5 digit precision multimeter.
options:
-h, --help show this help message and exit
-d, --debug Enable debugging.
-l, --list_args List the valid commands.
--port PORT The serial port to use. If left blank the first serial port found will be used.
-s, --send Send a command to the meter.
-f FUNCTION, --function FUNCTION
The required function.
-p PARAMETER, --parameter PARAMETER
The parameter passed to the function.
-g, --get Read any data being sent on the serial port.
OWON AC/DC Clamp Ammeter
The cm2100b command provides an interface to this meter via bluetooth.
cm2100b -h
usage: cm2100b [-h] [-d] [-m MAC] [-r] [-l]
An interface to the CM2100B current clamp DMM.
options:
-h, --help show this help message and exit
-d, --debug Enable debugging.
-m MAC, --mac MAC The bluetooth MAC address of the CM2100B meter.
-r, --read Read values from the CM2100B over bluetooth.
-l, --list List bluetooth devices.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file test_equipment-1.1.6.tar.gz.
File metadata
- Download URL: test_equipment-1.1.6.tar.gz
- Upload date:
- Size: 24.8 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1d4f46eacdba5c6ed138a42b54544b601a05f6a2fe736839a9cec7637052524
|
|
| MD5 |
7a12a9d7bf733aa33b3208f705c438fe
|
|
| BLAKE2b-256 |
672f90b67cbdb9bfa14e98aab62be51869985d317f88c276751e3a76beb99890
|
File details
Details for the file test_equipment-1.1.6-py3-none-any.whl.
File metadata
- Download URL: test_equipment-1.1.6-py3-none-any.whl
- Upload date:
- Size: 28.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3980ea23eef205e247ab8a00f7be424c376a76ef53894c86516674b6a7ec90c
|
|
| MD5 |
faf8bd81f0d7702573707457505c96ae
|
|
| BLAKE2b-256 |
e0ecdd759d444e06db44f260140458a7c2142b60dc6a4635bc2b0398ebb28c73
|