navigate.model.device_startup_functions.start_lasers
- navigate.model.device_startup_functions.start_lasers(microscope_name: str, device_connection: Any, configuration: Dict[str, Any], id: int = 0, is_synthetic: bool = False, plugin_devices: Optional[dict] = None) → LaserBase
Initializes the lasers.
Loads the lasers from the configuration file. Proper laser types include NI and SyntheticLaser. Initializes the Laser Switching, Analog, and Digital DAQ Outputs.
- Parameters:
microscope_name (str) – Name of microscope in configuration
device_connection (Any) – Hardware device to connect to
configuration (Dict[str, Any]) – Global configuration of the microscope
id (int) – Index of laser in laser list in configuration dictionary. Default is 0.
is_synthetic (bool) – Run synthetic version of hardware. Default is False.
plugin_devices (Optional[dict]) – Dictionary of plugin devices. Default is None.
- Returns:
laser – Laser class.
- Return type: