tau tau

Table Of Contents

Next topic

Contents

This Page

Welcome to Tau’s 1.2 documentation!

Tau is a python framework for both CLI and GUI tango applications. It is build on top of PyTango and PyQt. Tau stands for TAngo User interface.

Tau was originally known as PyTauico & PyTauiwi. Since version 1.0.0 the name as been changed to tau.

An Introduction guide will help you getting started with the basic tau concepts.

For sampling, see the Screenshots and Examples directory.

_images/intro.png
The goals of this library are:
  • provide a simple Tango API to the end-user application
  • speed up development of tango based applications
  • provide a standardized look-and-feel

For example, to display the values of four attributes (state, position, velocity, acceleration) of a device (motor/icepap/01):

import sys, tau.widget
from PyQt4 import Qt

attrs = [ 'state', 'position', 'velocity', 'acceleration' ]
model = [ 'motor/icepap/01/%s' % atts for attr in attrs ]
app = Qt.QApplication([])
w = tau.widget.TauForm()
w.setModel(model)
w.setVisible(True)
sys.exit(app.exec_())
_images/tauform_example01.png

The generated GUI by the above code

The above example can even be achieved even without typing any code:

% cd tau/widget
% python forms.py motor/icepap/01/state motor/icepap/01/position motor/icepap/01/velocity

In many aspects, tau follows the same approach as the tango java application toolkit: Tango ATK. If you know ATK you will find many things in tau familiar.

Revision

Contributers:T. Coutinho, C. Pascual, R. Suñe

(Actually the three persons above are the contact persons. The number of developers include the entire controls section of the ALBA synchrotron who actually did most of the work)

Last Update:May 21, 2010

History of modifications

Date Revision Description Author
21/01/10 1.0 Initial Version T. Coutinho, C. Pascual, R. Suñe

Version history

version Changes
1.2.1 First official release to the Tango community
1.1.0 First unofficial release to the Tango community