RS-PRO RS-D3305P Power Supply
This package provides a Python interface to the RS-PRO RS-D3305P power supply. It allows for commanding and monitoring of the power supply via a serial connection.
Local Settings
This is what you need to add to your local settings file:
RS-PRO RS-D3305P Controller:
<arbitrary name to refer to the device>:
SERIAL_NUMBER: <serial number of the device, between quotes, e.g. "123456789">
RS-PRO RS-D3305P Control Server:
PROTOCOL: tcp
<same arbitrary name to refer to the device>:
SERVICE_TYPE: <same arbitrary name to refer to the device>
PROCESS_NAME: <same arbitrary name to refer to the device>
HOST: <hostname on which the CS is running, e.g. "localhost">
STORAGE_MNEMONIC: <same arbitrary name to refer to the device>
To get hold of the serial number of the device, you can use the following command:
from egse.power_supply.rs_pro.rsd3305p_devif import print_serial_ports
print_serial_ports()
For each serial port on the computer, the port name and corresponding serial number of the device (if any) will be printed. Select the serial number of the device you want to connect to and add it to your local settings file, as indicated above.
In case the RS-D3305P device does not show up in the list of serial ports, while the USB cable is connected, try power-cycling the device and try again.
Control Server
To start the Control Server for the RS-D3305P device, use the following command:
$ cgse rsd3305 start [--sim] <same arbitrary name to refer to the device>
The optional --sim flag can be used to start the Control Server in simulation mode, which does not require a physical device to be connected.
Limitations
Initially, the idea was to connect to the RS-3305P power supply via an Ethernet cable and do the commanding via TCP/IP. However, this only works for write commands and not for read commands. Therefore, we use a serial connection instead.
The RS-3305P power supply has a USB port that can be used to connect to a computer via a USB cable. The USB connection is recognised as a virtual COM port, which allows for serial communication with the power supply.
Reference Documents
- RS-D3305P IP LAN Communication Protocol
- RS-D3305P Series Multiple Channel Remote Control Syntax v4.0
- RS-D3305P DC Power Supply Series User Manual
- RS Pro D3305P - Python GUI Remote Controller
Metadata
Release files for rs_pro_power_supply 0.26.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rs_pro_power_supply-0.26.2.tar.gz | 15.0 kB | Without provenance | Details for rs_pro_power_supply-0.26.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rs_pro_power_supply-0.26.2-py3-none-any.whl | Python 3 | none | any | Details for rs_pro_power_supply-0.26.2-py3-none-any.whl |
Total release size: 34.1 kB
Release files / rs_pro_power_supply-0.26.2.tar.gz
| Download URL | rs_pro_power_supply-0.26.2.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95d4a3ea7d3e35144b8b147e0b5c898c4441b592c98be9b71c296c35dcba5497
|
|
BLAKE2b-256 checksum How to use checksums |
9fd4cb1b36cb19607deec364d01aa5ec8d298baa0a9687e2a63cdca3c7982b43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Omarchy","version":"4.0.6","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / rs_pro_power_supply-0.26.2-py3-none-any.whl
| Download URL | rs_pro_power_supply-0.26.2-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aad67aa28170c0264b573e7b0d2ee5124aab838ae56200afa2ef53869ee2d8dc
|
|
BLAKE2b-256 checksum How to use checksums |
e493076f4ec7199add269a423f1de78f82b1d2bdade9de7af5b855a6e82c0fb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Omarchy","version":"4.0.6","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for rs_pro_power_supply 0.26.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.