Skip to content

Commit

Permalink
Fix conflict in elinac/README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sergirubio committed Feb 1, 2017
2 parents 5ba73cd + af22207 commit f0979c3
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions examples/elinac/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,38 @@ Install them using setup.py or just add folders to PATH::

Get Vacca::

> git clone https://github.com/sergirubio/vacca vacca.git
> git clone https://github.com/tango-controls/vacca vacca.git
> export PATH=$(pwd)/vacca.git/bin:$PATH
> export PYTHONPATH=$(pwd)/vacca.git:$PYTHONPATH
> cd vacca.git/examples/elinac

If you don't have the TangoBox devices, create new simulators::
If you don't have the TangoBox devices, create new simulators using SimulatorDS ::

> ipython
: import SimulatorDS.gen_simulation as gs
: gs.generate_class_properties(all_rw=True)
: gs.create_simulators('ui_attribute_values.pck',instance='elinac-',tango_host='127.0.0.1')
: gs.create_simulators('ui_attribute_values.pck',instance='elinac',tango_host='127.0.0.1')
: Ctrl+D

If you have starter, SimulatorDS and fandango/scripts in PATH, let's launch the simulators::

Using Starter and fandango/scripts::

> tango_servers start "DynamicDS/elin*"

Or directly running the .py script::

> python ...../SimulatorDS.py elin &

Last, launch VACCA::

> vaccagui elinac.py

.. image:: screenshot.png

Enjoy
From this point you can select devices from the tree or synoptic, plot values, interact with attributes/commands or start/stop/reload devices and its properties using the right click menus.

If panic and PyTangoArchiving are available, the AlarmGUI and ArchivingBrowser widgets can be added to the perspective for a richer functionality.


Sergi Rubio, 2010 - 2016

0 comments on commit f0979c3

Please sign in to comment.