Classes
Bases: PyTango._PyTango.Device_4Impl, taurus.core.util.log.Logger
Tango command to create controller.
Parameters: | argin (list<str>) – Must give either:
Examples: data = dict(type='Motor', library='DummyMotorController',
klass='DummyMotorController',
name='my_motor_ctrl_1')
pool.CreateController([json.dumps(data)])
pool.CreateController(['Motor', 'DummyMotorController', 'DummyMotorController',
'my_motor_ctrl_2'])
|
---|---|
Returns: | None |
Tango command to create instrument.
Parameters: | argin (list<str>) – Must give either:
Examples: pool.CreateInstrument(['/OH', 'NXhutch'])
pool.CreateInstrument(['/OH/Mono', 'NXmonochromator'])
pool.CreateInstrument(['/EH', 'NXhutch'])
pool.CreateInstrument(['/EH/Pilatus', 'NXdetector'])
|
---|---|
Returns: | None |
Tango command to create element (motor, counter/timer, 0D, 1D, 2D, IORegister).
Parameters: | argin (list<str>) – Must give either:
Examples: data = dict(type='Motor', ctrl_name='my_motor_ctrl_1', axis='4', name='theta',
full_name='BL99/EH/THETA')
pool.CreateElement([json.dumps(data)])
pool.CreateElement(['Motor', 'my_motor_ctrl_1', '1', 'phi', 'BL99/EH/PHI'])
|
---|---|
Returns: | None |
Tango command to create motor group.
Parameters: | argin (list<str>) – Must give either:
Examples: data = dict(name='diffrac_motor_group', elements=['theta', 'theta2', 'phi'])
pool.CreateMotorGroup([json.dumps(data)])
pool.CreateMotorGroup(['diffrac_mg', 'theta', 'theta2' ])
|
---|---|
Returns: | None |
Tango command to create measurement group.
Parameters: | argin (list<str>) – Must give either:
An acquirable is either a sardana element (counter/timer, 0D, 1D, 2D, motor) or a tango attribute (ex: sys/tg_test/1/short_spectrum_ro) Examples: data = dict(name='my_exp_01', elements=['timer', 'C1', 'sys/tg_test/1/double_scalar'])
pool.CreateMeasurementGroup([json.dumps(data)])
pool.CreateMeasurementGroup(['my_exp_02', 'timer', 'CCD1', 'sys/tg_test/1/short_spectrum_ro'])
|
---|---|
Returns: | None |
Tango command to delete element.
Parameters: | argin (str) – name of element to be deleted |
---|---|
Returns: | None |
Tango command to get detailed information about a controller class.
Parameters: | argin (str) – Must give either:
Examples: data = "DummyMotorController", "DummyCounterTimerController"
pool.GetControllerClassInfo(json.dumps(data))
pool.GetControllerClassInfo("DummyMotorController")
|
---|---|
Returns: |
a JSON encoded string describing the controller class
Return type: | str |
---|
Tango command to reload the controller library code.
Parameters: | argin (str) – the controller library name (without extension) |
---|---|
Returns: | None |