sardana
Taurus Qt extensions for Sardana devices.
Objects obtained with taurus.Device()
expose standard interfaces
e.g., allow to interact with their attributes, check their state, etc.
This module defines classes for enriched interaction with Sardana devices
(also for other elements not exported as devices), e.g. synchronous move
of a sardana motor with
move()
method instead of writing motor’s position attribute and then waiting for its
state change. The difference between these classes with respect to the ones
from the sardana.taurus.core.tango.sardana
module is the Qt friendly
interface e.g. the Sardana events are translated to Qt signals.
To obtain these enriched objects with taurus.Device()
you need to first
register the extension classes with
the registerExtensions
function.
The registration needs to be done before the first access to the given
taurus.Device()
.
Note
If you are using
TaurusApplication
then the registration is done behind the scene at the moment of
TaurusApplication
construction.
Functions
Modules