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 here.
The complete controller API can be found here.
First, the common interface to all controller types is explained. After, a detailed chapter will focus on each specific controller type:
- What is a controller
- How to test controller plugins
- How to write a motor controller
- How to write a counter/timer controller
- How to write a 0D controller
- How to write a 1D controller
- How to write a 2D controller
- How to write a trigger/gate controller
- How to write an I/O register controller
- How to write a pseudo motor controller
- How to write a pseudo counter controller
See also
See the Adding real elements section for information on how to add, configure and use controllers.