Oscilloscopes

hardware_control.gui.controls.Oscilloscope module

../../_images/Oscilloscope.png
class hardware_control.gui.controls.Oscilloscope.Oscilloscope(app, instrument_name: str, channels: List[int], units: List[str], widget_name: str = 'Oscilloscope', instrument_type: str = 'keysight')

Bases: QGroupBox

A control program for an oscilloscope.

Parameters:
  • app (hardware_control.App) – The main app instance

  • instrument_name (str) – The name of the oscilloscope instrument

  • widget_name (str) – Name shown in the control program; default is ‘Oscilloscope’

  • channels (list) – A list of instrument channel numbers to be shown

  • instrument_type (str) – Either ‘keysight’, ‘rigol’, or ‘picoscope’; default is ‘keysight’

default_update_readout() None

Register certain parameterts to be automatically udpated.

class hardware_control.gui.controls.Oscilloscope.OscilloscopeChannelWidget(app, instrument_name: str, channel: int, instrument_type: str)

Bases: QWidget

A Qt-widget that implements controls for a single channel of an oscilloscope.

class hardware_control.gui.controls.Oscilloscope.OscilloscopeHorizontalWidget(app, instrument_name, instrument_type)

Bases: QGroupBox

A group of widgets that control parameters relating to the oscilloscope signal display.

class hardware_control.gui.controls.Oscilloscope.OscilloscopeTriggerWidget(app, instrument_name, instrument_type, channels)

Bases: QGroupBox

A group of widgets that control parameters relating to oscilloscope triggering.

pico_run()
pico_stop()