unstable Christoph Müller, Simon Schmitt This is the Interface class to define the controls for the simple microwave hardware.
More...
|
def | __init__ (self, kwargs) |
|
def | on_activate (self) |
| Initialisation performed during activation of the module.
|
|
def | on_deactivate (self) |
| Deinitialisation performed during deactivation of the module.
|
|
def | get_constraints (self) |
| Retrieve the hardware constrains from the motor device. More...
|
|
def | move_rel (self, param_dict) |
| Moves stage by a given angle (relative movement) More...
|
|
def | move_abs (self, param_dict) |
| Moves stage to an absolute angle (absolute movement) More...
|
|
def | abort (self) |
| Stops movement of the stage. More...
|
|
def | get_pos (self, param_list=None) |
| Gets current position of the rotation stage. More...
|
|
def | get_status (self, param_list=None) |
| Get the status of the position. More...
|
|
def | calibrate (self, param_list=None) |
| Calibrates the rotation motor. More...
|
|
def | get_velocity (self, param_list=None) |
| Asks current value for velocity. More...
|
|
def | set_velocity (self, param_dict) |
| Write new value for velocity. More...
|
|
def | __init__ (self, manager, name, config=None, callbacks=None, kwargs) |
| Initialise Base class object and set up its state machine. More...
|
|
def | log (self) |
| Returns a logger object.
|
|
def | is_module_threaded (self) |
| Returns whether the module shall be started in a thread.
|
|
def | on_activate (self) |
| Method called when module is activated. More...
|
|
def | on_deactivate (self) |
| Method called when module is deactivated. More...
|
|
def | getStatusVariables (self) |
| Return a dict of variable names and their content representing the module state for saving. More...
|
|
def | setStatusVariables (self, variableDict) |
| Give a module a dict of variable names and their content representing the module state. More...
|
|
def | getConfiguration (self) |
| Return the configration dictionary for this module. More...
|
|
def | get_connector (self, connector_name) |
| Return module connected to the given named connector. More...
|
|
def | __new__ (cls, name, bases, attrs) |
| Collect declared Connectors, ConfigOptions and StatusVars into dictionaries. More...
|
|
unstable Christoph Müller, Simon Schmitt This is the Interface class to define the controls for the simple microwave hardware.
Example config for copy-paste:
motorstage_zaber: module 'motor.zaber_motor_rotation_stage.MotorRotationZaber' com_port_zaber 'ASRL1::INSTR' zaber_baud_rate 9600 zaber_timeout 1000 zaber_term_char '
'
zaber_axis_label 'phi' zaber_angle_min -1e5 # in degrees zaber_angle_max 1e5 # in degrees zaber_angle_step 1e-5 # in degrees
zaber_velocity_min 1e-3 # in degrees/s zaber_velocity_max 10 # in degrees/s zaber_velocity_step -1e-3 # in degrees/s
zaber_micro_step_size 234.375e-6 zaber_speed_conversion 9.375
def zaber_motor_rotation_stage.MotorRotationZaber.get_constraints |
( |
|
self | ) |
|
Retrieve the hardware constrains from the motor device.
- Returns
- dict: dict with constraints for the sequence generation and GUI
Provides all the constraints for the xyz stage and rot stage (like total movement, velocity, ...) Each constraint is a tuple of the form (min_value, max_value, stepsize)