Unofficial Python framework for communication with the Menlo Syncro RRE laser synchronization unit
Project description
Synster -- Python API for Menlo Syncro box
Dependencies
Needs:
- python3-pyserial
- python3-
Quick'n Dirty Snippets
Try this:
>>> from rbp import Message, Device, ControlBytes, Errors, Commands
>>> dev = Device("/dev/ttyUSB0")
>>> m = Message(src=0x0, dest=0xff, cmd=Commands.ECHO, data='hi!')
>>> r = dev.req(m)
>>> print(r)
Test like this, if you already have a Menlo Syncro attached:
$ export SYNCSTER_PORT=/dev/ttyUSB0
$ cd syncster/syncster
$ pytest-3 -s rbp.py
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
menlo_syncro-0.1.1.tar.gz
(27.6 kB
view details)
Built Distribution
File details
Details for the file menlo_syncro-0.1.1.tar.gz
.
File metadata
- Download URL: menlo_syncro-0.1.1.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc013ce4c3c1886aa497d579a77e906fa804291eec0833c351034f2163831270 |
|
MD5 | 7feaf3b5e0f18c7a6a6d3f2060d819ea |
|
BLAKE2b-256 | cb3a85955cd05ae8fb9037dbc30bd9fbf2f6591e167ba64d397987c9a4de739e |
File details
Details for the file menlo_syncro-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: menlo_syncro-0.1.1-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfaf98178ab62254914a3456cc1fff7cde329d0efde9db609135bec02e79c012 |
|
MD5 | 0ac583722ae7f8680018c73ea77a555d |
|
BLAKE2b-256 | 7c2b1e469092c38485ddb1d5913e19708c93c3b20250cdc96f3bfa86df66445e |