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 hashes)
Built Distribution
Close
Hashes for menlo_syncro-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfaf98178ab62254914a3456cc1fff7cde329d0efde9db609135bec02e79c012 |
|
MD5 | 0ac583722ae7f8680018c73ea77a555d |
|
BLAKE2b-256 | 7c2b1e469092c38485ddb1d5913e19708c93c3b20250cdc96f3bfa86df66445e |