The FAQ is work-in-progress. Many answers need polishing and mostly links need to be added
An overview over the different Sardana components is shown in the following figure:
How do I install Sardana?¶
The Sardana SCADA system consists of different components which have to be installed:
The complete sardana installation instructions can be found here.
Refer to the user documentation on TaurusGUI for more details on how to work with panels
How to call procedures?¶
The central idea of the Sardana SCADA system is to execute procedures centrally. The execution can be started from either:
- spock offers a command line interface with commands very similar to SPEC. It is documented here.
- Procedures can also be executed with from a GUI. Taurus provides generic widgets for macro execution.
- Procedures can also be executed in specific GUI s and specific Taurus widgets. The API to execute macros from python code is documented here <LINK>.
How to write procedures?¶
- Documentation on how to debug macros can be found here <LINK>
- In addition of the strength of the python language macro writers can interface with common elements (motors, counters) , call other macros and use many utilities provided. The macro API can be found here.
- Documentation how to document your macros can be found here
How to write scan procedures?¶
A very common type of procedure is the scan where some quantity is varied while recording some other quantities. See the documentation on the Sardana Scan API
How to adapt SARDANA to your own hardware?¶
Sardana is meant to be interfaced to all types of different hardware with all types of control systems. For every new hardware item the specific behavior has to be programmed by writing a controller code. The documentation how to write Sardana controllers and pseudo controllers can be found here. This documentation also includes the API which can be used to interface to the specific hardware item.
How to add your own file format?¶
Documentation how to add your own file format can be found here <LINK>.
How to use the standard macros?¶
The list of all standard macros and their usage can be found here <LINK>.
How to write your own Taurus application?¶
You have basically two possibilities to write your own Taurus application Start from get General TaurusGUI and create a configuration file. This approach is documented here <LINK>. Start to write your own Qt application in python starting from the Taurus main window. This approach is documented here <LINK>.
Which are the standard Taurus graphical GUI components?¶
A list of all standard Taurus GUI components together with screen shots and example code can be found here <LINK>
How to write your own Taurus widget?¶
A tutorial of how to write your own Taurus widget can be found here.
How to work with the graphical GUI editor?¶
What are the minimum software requirements for sardana?¶
Sardana is developed under GNU/Linux, but should run also on Windows and OS-X. The dependencies for installing Sardana can be found here <LINK>.
How to configure the system?¶
Adding and configuring hardware items on an installation is described here <LINK>.
How to write your own Taurus schema?¶
Taurus is not dependent on Tango. Other control systems or just python modules can be interfaced to it by writing a schema. This approach is documented here <LINK> and a tutorial can be found here <LINK>
What are the interfaces to the macro server and the pool?¶
The low level interfaces to the Sardana Device Pool and the Macro server can be found here <LINK>.
What are the data file formats used in the system and how can I read them?¶
It is easily possible to add your own file format but the standard file formats are documented here:
- The SPEC file format is documented here <LINK> and here is a list of tools to read it <LINK>
- The EDF file format is documented here <LINK> and here is a list of tools to read it <LINK>
- The NEXUS file format is documented here <LINK> and here is a list of tools to read it <LINK>