ALBA Python Serial with tango DeviceServer
Project description
ALBA Python Serial DeviceServer
ALBA Python Serial device server for tango. with the aim to be API compatible with the C++ Tango Serial device server extending its functionality.
This device server internally uses pyserial meaning that supports the same serial protocols, like rfc2217:// socket:// loop:// hwgrep:// spy:// alt://
Installation
From within your favorite python environment type:
$ pip install tango_serial
Tango server
Register a Serial tango server in the tango database:
$ tangoctl server add -s Serial/test -d Serial test/tango_serial/1
$ tangoctl device property write -d test/tango_serial/1 -p serialline -v "rfc2217://192.168.123:5000"
(the above example uses tangoctl. You would need
to install it with pip install tangoctl
before using it. You are free to use any other
tango tool like fandango or Jive)
Launch the server with:
$ Serial test
Credits
Development Lead
- Alberto López Sánchez alopez@cells.es
- CTBeamlines (ctbeamlines@cells.es)
Contributors
None yet. Why not be the first?
History
0.1.0 (2020-12-15)
- First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tango_serial-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee20173607257b6d297eb6c9815e6a622681e213f1e0c8717b90a1232d8ea9ac |
|
MD5 | 5474415b2e5bc5ecc6d06cae3a522b1f |
|
BLAKE2b-256 | 027219aba1682b92dbdc7b9866c846a409208a839f7862fca1fac2de9b990a7c |