Skip to content

ALBA Python Serial device server for tango. with the aim to be API compatible with the C++ Tango Serial device server extending its functionality.

License

Notifications You must be signed in to change notification settings

ALBA-Synchrotron/tango_serial

Repository files navigation

ALBA Python Serial DeviceServer

ALBA Python Serial DeviceServer

ALBA Python Serial DeviceServer updates

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 tangods_serialline

Tango server

Register a Serial tango server in the tango database:

$ tangoctl server add -s Serial/test -d Serial test/tangods_serialline/1
$ tangoctl device property write -d test/tangods_serialline/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

Contributors

None yet. Why not be the first?

About

ALBA Python Serial device server for tango. with the aim to be API compatible with the C++ Tango Serial device server extending its functionality.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published