nomad_camels_driver_opc_ua_instrument package

Submodules

nomad_camels_driver_opc_ua_instrument.opc_ua_instrument module

nomad_camels_driver_opc_ua_instrument.opc_ua_instrument.get_configs_from_ophyd(ophyd_instance)
class nomad_camels_driver_opc_ua_instrument.opc_ua_instrument.subclass(**kwargs)

Bases: Device

get_channels()

returns self.channels, should be overwritten for special purposes (e.g. leaving out some keys of the dictionary)

Returns:

self.channels – dictionary containing the device’s channels

Return type:

dict

update_driver()
class nomad_camels_driver_opc_ua_instrument.opc_ua_instrument.subclass_config(parent=None, data='', settings_dict=None, config_dict=None, additional_info=None)

Bases: Device_Config

add_matching_variables()
  1. When “Fetch and Add” is clicked, connect to the OPC UA server (using the URL and namespace from the line edits), find any variables matching the search string, and add them to the table.

discover_opc_variables(node: Node, client: Client, results=None, path: str = '', regex_pattern: str = '.*') dict[str, str]
get_settings()

Updates the settings_dict with the current settings. Overwrite this function for each device to specify the settings. It is recommended to still call the super() method for the connection-settings.

staticMetaObject = PySide6.QtCore.QMetaObject("subclass_config" inherits "Device_Config": )

nomad_camels_driver_opc_ua_instrument.opc_ua_instrument_ophyd module

class nomad_camels_driver_opc_ua_instrument.opc_ua_instrument_ophyd.Opc_Ua_instrument(prefix='', *, name, kind=None, read_attrs=None, configuration_attrs=None, parent=None, url=None, namespace=None, variables=None, **kwargs)

Bases: Sequential_Device

component_names = ()
finalize_steps()
read_opc_ua(name, path)
set_opc_ua(name, path, value)
subscriptions: ClassVar[FrozenSet[str]] = frozenset({'acq_done'})
nomad_camels_driver_opc_ua_instrument.opc_ua_instrument_ophyd.make_ophyd_class(variables)
nomad_camels_driver_opc_ua_instrument.opc_ua_instrument_ophyd.make_ophyd_instance_opc_ua(prefix='', *args, name, kind=None, read_attrs=None, configuration_attrs=None, parent=None, url=None, namespace=None, variables=None, **kwargs)

Module contents