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.0.38.tar.gz
(27.8 kB
view hashes)
Built Distribution
Close
Hashes for menlo_syncro-0.0.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 229e8e85f153d0c9bf193af70238166ebd72d8a452c1ee8fc88f02070b6bcb23 |
|
MD5 | d2a5dda63e1c54d229616b99931499a8 |
|
BLAKE2b-256 | ccf4a3431d34e4a042a7da9de8467e690985f55751a04b8b4d16ac3542ad58f8 |