- class Starter(ds_name)
Abstract class for managing (starting, stopping, registering and removing) a Tango Device Server.
Derived classes should provide the methods for starting and stopping a device.
from taurus.core.tango.starter import Starter
- addNewDevice(device, klass=None)
Register a device of this server in the DB (register the server if not present) e.g. to create Starter in an init script:
klass – class name. If None passed, it defaults to the server name (without instance name)
removes devices which have been added by
addNewDevice()and then removes the server if it was registered by this starter (or, if force is True, it removes the server in any case)
force (bool) – force removing of the Server even if it was not registered within this starter
- startDs(synch=True, wait_seconds=10)
- stopDs(synch=True, hard_kill=False, wait_seconds=10)