.. currentmodule:: sardana.pool.controller .. _sardana-controller-howto: =================== Writing controllers =================== This chapter provides the necessary information to write controllers in sardana. Before writing a new controller you should check the `Sardana plugins catalogue `_. There's a high chance that somebody already wrote the plugin for your hardware. An overview of the pool controller concept can be found :ref:`here `. The complete controller :term:`API` can be found :ref:`here `. First, the common interface to all controller types is explained. After, a detailed chapter will focus on each specific controller type: .. toctree:: :maxdepth: 1 General controller writing Controller testing Motor controller Counter/timer controller 0D controller 1D controller 2D controller Trigger/gate controller IO register controller Pseudo motor controller Pseudo counter controller .. seealso:: See the :ref:`sardana-adding-elements` section for information on how to add, configure and use controllers.