nomad_camels_driver_demo_digital_multimeter package
Submodules
nomad_camels_driver_demo_digital_multimeter.demo_digital_multimeter module
- class nomad_camels_driver_demo_digital_multimeter.demo_digital_multimeter.subclass(**kwargs)
Bases:
Device
- class nomad_camels_driver_demo_digital_multimeter.demo_digital_multimeter.subclass_config(parent=None, data='', settings_dict=None, config_dict=None, additional_info=None)
Bases:
Simple_Config
- connection_type_changed()
Called when the comboBox_connection_type is changed. Switches to another connector-widget to specify things like the Address of the device.
- staticMetaObject = PySide6.QtCore.QMetaObject("subclass_config" inherits "Simple_Config": )
nomad_camels_driver_demo_digital_multimeter.demo_digital_multimeter_ophyd module
- class nomad_camels_driver_demo_digital_multimeter.demo_digital_multimeter_ophyd.Demo_DMM(prefix='', *, name, kind=None, read_attrs=None, configuration_attrs=None, parent=None, demo_server_port=8080, demo_server_host='localhost', **kwargs)
Bases:
Demo_Server_Device
- NPLC
A descriptor representing a device component (or signal)
Unrecognized keyword arguments will be passed directly to the component class initializer.
- Parameters:
cls (class) –
Class of signal to create. The required signature of cls.__init__ is (if suffix is given):
def __init__(self, pv_name, parent=None, **kwargs):
or (if suffix is None)
def __init__(self, parent=None, **kwargs):
The class may have a wait_for_connection() which is called during the component instance creation.
suffix (str, optional) – The PV suffix, which gets appended onto
parent.prefix
to generate the final PV that the instance component will bind to. Also seeadd_prefix
lazy (bool, optional) – Lazily instantiate the signal. If
False
, the signal will be instantiated upon component instantiation. Defaults tocomponent.lazy_default
.trigger_value (any, optional) – Mark as a signal to be set on trigger. The value is sent to the signal at trigger time.
add_prefix (sequence, optional) – Keys in the kwargs to prefix with the Device PV prefix during creation of the component instance. Defaults to
('suffix', 'write_pv', )
doc (str, optional) – string to attach to component DvcClass.component.__doc__
- component_names = ('resistance', 'NPLC')
- resistance
A descriptor representing a device component (or signal)
Unrecognized keyword arguments will be passed directly to the component class initializer.
- Parameters:
cls (class) –
Class of signal to create. The required signature of cls.__init__ is (if suffix is given):
def __init__(self, pv_name, parent=None, **kwargs):
or (if suffix is None)
def __init__(self, parent=None, **kwargs):
The class may have a wait_for_connection() which is called during the component instance creation.
suffix (str, optional) – The PV suffix, which gets appended onto
parent.prefix
to generate the final PV that the instance component will bind to. Also seeadd_prefix
lazy (bool, optional) – Lazily instantiate the signal. If
False
, the signal will be instantiated upon component instantiation. Defaults tocomponent.lazy_default
.trigger_value (any, optional) – Mark as a signal to be set on trigger. The value is sent to the signal at trigger time.
add_prefix (sequence, optional) – Keys in the kwargs to prefix with the Device PV prefix during creation of the component instance. Defaults to
('suffix', 'write_pv', )
doc (str, optional) – string to attach to component DvcClass.component.__doc__
- subscriptions: ClassVar[FrozenSet[str]] = frozenset({'acq_done'})