Skip to main content

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

plesty_thorlabs_powermeter-0.1.0.tar.gz (215.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plesty_thorlabs_powermeter-0.1.0-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

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

Hashes for plesty_thorlabs_powermeter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a445a40fc245758018c87e6eddc5f76569ddd94137913491e536b866872b4182
MD5 2fa6c238551a9fdedfcee84b51302648
BLAKE2b-256 5c1770cbb80a02feaf988830e17e8d94b1d04a354bd6c3c25afc5535f068d154

See more details on using hashes here.

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

Hashes for plesty_thorlabs_powermeter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 036bde4d96722d1891105fb2f7ebad4a5ac5808d53cd3c0075019137d4400fe6
MD5 695a144b812080b21e9ff6e9ebdc1892
BLAKE2b-256 92c08f2a3fb11f627c5e9b839a8b17f9f945b34c8fe4f3fc8a41cd226e5e28f0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page