This module contains the main pool class
Functions
Classes
Pool
-
class Pool(full_name, name=None)[source]
Bases: sardana.pool.poolcontainer.PoolContainer, sardana.pool.poolobject.PoolObject, sardana.sardanamanager.SardanaElementManager, sardana.sardanamanager.SardanaIDManager
The central pool class.
-
Default_MotionLoop_StatesPerPosition = 10
Default value representing the number of state reads per position
read during a motion loop
-
Default_MotionLoop_SleepTime = 0.01
Default value representing the sleep time for each motion loop
-
Default_AcqLoop_StatesPerValue = 10
Default value representing the number of state reads per value
read during a motion loop
-
Default_AcqLoop_SleepTime = 0.01
Default value representing the sleep time for each acquisition loop
-
Default_DriftCorrection = True
-
init_local_logging()[source]
-
clear_remote_logging()[source]
-
init_remote_logging(host=None, port=None)[source]
Initializes remote logging.
Parameters: |
- host (str) – host name [default: None, meaning use the machine host name
as returned by socket.gethostname()].
- port – port number [default: None, meaning use
logging.handlers.DEFAULT_TCP_LOGGING_PORT
|
-
serialize(*args, **kwargs)[source]
-
set_motion_loop_sleep_time(motion_loop_sleep_time)[source]
-
get_motion_loop_sleep_time()[source]
-
motion_loop_sleep_time
motion sleep time (s)
-
set_motion_loop_states_per_position(motion_loop_states_per_position)[source]
-
get_motion_loop_states_per_position()[source]
-
motion_loop_states_per_position
Number of State reads done before doing a position read in the motion loop
-
set_acq_loop_sleep_time(acq_loop_sleep_time)[source]
-
get_acq_loop_sleep_time()[source]
-
acq_loop_sleep_time
acquisition sleep time (s)
-
set_acq_loop_states_per_value(acq_loop_states_per_value)[source]
-
get_acq_loop_states_per_value()[source]
-
acq_loop_states_per_value
Number of State reads done before doing a value read in the acquisition loop
-
set_drift_correction(drift_correction)[source]
-
get_drift_correction()[source]
-
drift_correction
drift correction
-
monitor[source]
-
ctrl_manager[source]
-
set_python_path(path)[source]
-
set_path(path)[source]
-
get_controller_libs()[source]
-
get_controller_lib_names()[source]
-
get_controller_class_names()[source]
-
get_controller_classes()[source]
-
get_controller_class_info(name)[source]
-
get_controller_classes_info(names)[source]
-
get_controller_libs_summary_info()[source]
-
get_controller_classes_summary_info()[source]
-
get_elements_str_info(obj_type=None)[source]
-
get_elements_info(obj_type=None)[source]
-
get_acquisition_elements_info()[source]
-
get_acquisition_elements_str_info()[source]
-
create_controller(**kwargs)[source]
-
create_element(**kwargs)[source]
-
create_motor_group(**kwargs)[source]
-
create_measurement_group(**kwargs)[source]
-
delete_element(name)[source]
-
create_instrument(full_name, klass_name, id=None)[source]
-
stop()[source]
-
abort()[source]
-
reload_controller_lib(lib_name)[source]
-
reload_controller_class(class_name)[source]
-
get_element_id_graph()[source]
-
get_moveable_id_graph()[source]
-
get_moveable_graph()[source]