Plesty Thorlabs Power Meter Device
One Plesty device module for the Thorlabs PM-series optical power and energy meters — PM100D, PM100A, PM100USB, PM160/PM160T, PM200 and PM400. They share a single SCPI command set, so the module implements it once and reads the console and the fitted sensor head from the instrument at connect.
Installation
git clone https://gitlab.com/plesty/hub/devices/thorlab/powermeter.git
cd powermeter
uv sync
Run as a TCP server
uv run python -m plesty.thorlabs_powermeter --tcp-port 5555
The default address matches any Thorlabs USB-TMC console; pass
-a "USB0::0x1313::0x8078::<serial>::INSTR" to name one unit.
Without hardware, --mock serves an in-memory SCPI simulator, optionally as a
named console and head:
uv run python -m plesty.thorlabs_powermeter --mock PM400:S401C
See docs/index.md for supported consoles, how to add one, and troubleshooting.
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 plesty_thorlabs_powermeter-0.1.0.tar.gz.
File metadata
- Download URL: plesty_thorlabs_powermeter-0.1.0.tar.gz
- Upload date:
- Size: 215.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a445a40fc245758018c87e6eddc5f76569ddd94137913491e536b866872b4182
|
|
| MD5 |
2fa6c238551a9fdedfcee84b51302648
|
|
| BLAKE2b-256 |
5c1770cbb80a02feaf988830e17e8d94b1d04a354bd6c3c25afc5535f068d154
|
File details
Details for the file plesty_thorlabs_powermeter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: plesty_thorlabs_powermeter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 59.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
036bde4d96722d1891105fb2f7ebad4a5ac5808d53cd3c0075019137d4400fe6
|
|
| MD5 |
695a144b812080b21e9ff6e9ebdc1892
|
|
| BLAKE2b-256 |
92c08f2a3fb11f627c5e9b839a8b17f9f945b34c8fe4f3fc8a41cd226e5e28f0
|