photons.equipment.widgets.dmm module
Widget for a digital multimeter.
- class photons.equipment.widgets.dmm.FetchWorker(connection, trigger_mode)[source]
Bases:
WorkerFetch samples from the DMM in a worker thread.
- class photons.equipment.widgets.dmm.DMMWidget(connection, *, parent=None)[source]
Bases:
BaseEquipmentWidgetWidget for a digital multimeter.
- Parameters:
- on_digits_spinbox_changed(_)[source]
Change the number of digits in the uncertainty to retain.
- Return type:
- on_edit_configuration()[source]
Show the QDialog to edit the configuration settings of the DMM.
- Return type:
- notification_handler(*args, **kwargs)[source]
Handle a notification emitted by the DMM Service.
- Return type:
- closeEvent(event)[source]
Override
QtWidgets.QWidget.closeEvent()to stop the QTimer and QThread.- Return type: