mxcubecore.protocols_config#
Provides an API to add Command and Channel objects to hardware objects, as specified in it’s YAML configuration file.
See setup_commands_channels() function for details.
Functions
|
Add the Command and Channel objects to a hardware object, as specified i |
- mxcubecore.protocols_config.setup_commands_channels(hwobj: HardwareObject, config: dict)[source]#
- Add the Command and Channel objects to a hardware object, as specified i
the config.
- Parameters:
hwobj (HardwareObject) – hardware object where to add Command and Channel objects
config (dict) – the complete hardware object configuration, i.e. parsed YAML file as dict