A collection of utilities and control software for the ePixUHR Rigol Power Supply and other accessories.
Project description
A set of utilities related to running the ePixUHR3x2
This was hacked together from a series of very old projects I had...
Provides
- A GUI for controlling a DP700 Rigol Power Supply
- A command-line interface for the DP700 Rigol Power Supply
- A small command-line utility for a DHCP server
- This can be used to IP a multi-mode fiber converter box
Installation
You can install with pip, either from PyPI, or building from source.
From Source
# Create a venv
python3 -m venv <path to venv>
source <path to venv>/bin/activate
pip install hatch build
pip install .
From PyPI
# Create a venv
python3 -m venv <path to venv>
source <path to venv>/bin/activate
pip install epixuhr-accessories
Usage
Rigol Power Supply
You may need to be added to the dialout group. E.g.:
> sudo gpasswd --add <username> dialout
You can then test by opening multiple terminals. In the first, run:
# Determine which device is the Rigol (maybe /dev/ttyUSB0)
> cat /dev/ttyUSB0
# ... output should come as you run echo commands
In the second terminal:
> echo "*IDN?" > /dev/ttyUSB0
You can then launch the GUI with:
> rigolps-gui
Or use the command-line tool:
> rigolps --help
usage: rigolps [-h] [--port PORT] {status,on,off}
CLI for Rigol Power Supply control
positional arguments:
{status,on,off} Command to execute
optional arguments:
-h, --help show this help message and exit
--port PORT Serial port for the Rigol supply. E.g. `/dev/ttyUSB0`.
DHCP Server
You can use this to IP a specific device, like the mulitmode fiber converter box.
> dhcp-server
usage: dhcp-server [-h] target_mac assigned_ip gateway_ip interface subnet_mask lease_time
positional arguments:
target_mac The MAC address to assign an IP to.
assigned_ip The IP address to assign to the target.
gateway_ip The gateway IP. For point-to-point this should be the IP on the interface. Even without point-to-point, it can be the IP of the server anyway.
interface The interface being used.
subnet_mask The subnet mask.
lease_time The DHCP lease time in seconds.
optional arguments:
-h, --help show this help message and exit
Project details
Release history Release notifications | RSS feed
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 epixuhr_accessories-0.1.0.tar.gz.
File metadata
- Download URL: epixuhr_accessories-0.1.0.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3621e928cd98c00b2a96682e565f5d163118ae7aa1a28d36943f64e30c521322
|
|
| MD5 |
ca91e00470f408883205ccaa4aa132a2
|
|
| BLAKE2b-256 |
baf969e7019d62133be92b264fef6750b93abd33450222563309c19d36a169a8
|
Provenance
The following attestation bundles were made for epixuhr_accessories-0.1.0.tar.gz:
Publisher:
release.yml on gadorlhiac/rigol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
epixuhr_accessories-0.1.0.tar.gz -
Subject digest:
3621e928cd98c00b2a96682e565f5d163118ae7aa1a28d36943f64e30c521322 - Sigstore transparency entry: 938933673
- Sigstore integration time:
-
Permalink:
gadorlhiac/rigol@2a9725aad4f1fcc1230b5d4d28c011078f03c985 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/gadorlhiac
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2a9725aad4f1fcc1230b5d4d28c011078f03c985 -
Trigger Event:
push
-
Statement type:
File details
Details for the file epixuhr_accessories-0.1.0-py3-none-any.whl.
File metadata
- Download URL: epixuhr_accessories-0.1.0-py3-none-any.whl
- Upload date:
- Size: 26.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92d7ff664a1ca56d51ccbde20a77db8e260fc7b0adc8b6c5d69d8931b679c972
|
|
| MD5 |
d9bfe9b30a5cf3f32640a1e48d527295
|
|
| BLAKE2b-256 |
4cd780380625b18f9bb55f78749c9e97e11cca95da0a75711e2523d8c1096024
|
Provenance
The following attestation bundles were made for epixuhr_accessories-0.1.0-py3-none-any.whl:
Publisher:
release.yml on gadorlhiac/rigol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
epixuhr_accessories-0.1.0-py3-none-any.whl -
Subject digest:
92d7ff664a1ca56d51ccbde20a77db8e260fc7b0adc8b6c5d69d8931b679c972 - Sigstore transparency entry: 938933695
- Sigstore integration time:
-
Permalink:
gadorlhiac/rigol@2a9725aad4f1fcc1230b5d4d28c011078f03c985 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/gadorlhiac
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2a9725aad4f1fcc1230b5d4d28c011078f03c985 -
Trigger Event:
push
-
Statement type: