navigate.model.device_startup_functions.device_not_found
- navigate.model.device_startup_functions.device_not_found(*args: Any) → None
Display an error message and raise an exception if the device is not found.
This function logs an error message and raises a RuntimeError when the specified device cannot be found in the configuration or the configuration is incorrect.
- Parameters:
args (tuple) –
A list of arguments representing the device details. These are typically:
microscope_name (str): The name of the microscope.
device (str): The name of the device.
device id (int): The ID of the device.
device type (str): The type of the device.
- Raises:
RuntimeError – If the device cannot be found or the configuration is incorrect.