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.0.tar.gz
(27.8 kB
view hashes)
Built Distribution
Close
Hashes for menlo_syncro-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb2ae354ce304fb437c8bd08802c6a1905ccfbb1914ac219e29355aa4d0291c5 |
|
MD5 | ad223dfbf8bd986f71d919450f15eeb3 |
|
BLAKE2b-256 | 935d383e42383c69a42268fe86a27a8f60474e6c682f71a1e0116950dd4f0b42 |