Skip to main content

Plesty K10CR1 Device

Plesty device for the Thorlabs K10CR1 motorized 360° cage rotation stage, driven over USB serial with the binary APT protocol (no Kinesis/.NET runtime required, works on Windows and Linux).

Device constants (unit scaling, software limits, stage defaults, runtime defaults) live in plesty/k10cr1/config.yaml; the parameter set is defined in plesty/k10cr1/schema_param.json.

Installation

git clone https://gitlab.com/plesty/hub/devices/thorlab/plesty-k10cr1.git
cd plesty-k10cr1
uv sync

Run As TCP Server

Connect the stage via USB and set DEVICE_PORT in .env (or --port, or running.port in config.yaml) — either the serial port (COM3, /dev/ttyUSB0) or, better, the controller's serial number from the unit's label (55001327), which stays valid when replugging moves the COM name. Then:

uv run python -m plesty.k10cr1 --tcp-port 5555

Pass --mock to serve the in-memory APT motor simulator instead of real hardware.

Run pytest

All tests run against the simulator; set DEVICE_PORT in .env to also run the real-device test.

uv run pytest

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plesty_k10cr1-0.1.1.tar.gz (128.7 kB view details)

Uploaded Source

Built Distribution

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

plesty_k10cr1-0.1.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file plesty_k10cr1-0.1.1.tar.gz.

File metadata

  • Download URL: plesty_k10cr1-0.1.1.tar.gz
  • Upload date:
  • Size: 128.7 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_k10cr1-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d79ef42303a56e8da8a6ccda1a38e006cc272a8ec9447020b382ae7a2ac4447f
MD5 b69746e5d1f3afb5e777dd0b1d6f3709
BLAKE2b-256 36bf82d60c169dd5f9d0d276376e2e541ea8017907a87a7be12d9e9abedcfc07

See more details on using hashes here.

File details

Details for the file plesty_k10cr1-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: plesty_k10cr1-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.2 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_k10cr1-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53bc0abf93359df2d3be7820afb60a31fef6ad95aba31b966a08c1f6abe3b154
MD5 d80083abfef3c429b7fa51c2cce5669e
BLAKE2b-256 8f60b72810cdfa3ea6fafabaa8a25acd49af6af3dae37ce5f0b57a4ac28cc0f8

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

0.2.0

2 files

This release

0.1.1 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