pe43711_qt

StepAttenuator

_images/StepAttenuator.png
class qtrfblocks.StepAttenuator(app: QWidget, controller: PE43711Controller)[source]
configure_hw(ser: Serial) None[source]

Configure the attenuator board hardware.

create_attenuator_layout(has_configure: bool = True) QVBoxLayout[source]

Create UI controls for a PE43711 step attenuator board.

dump_config() Dict[source]

Return the current configuration for this attenuator module.

Returns:

A dictionary containing the current attenuator module configuration.

property enabled: bool

Enable/disable the on screen attenuator UI components.

initialize_hw(ser: Serial) None[source]

Initialize the attenuator board hardware.

load_config(config: Dict) None[source]

Set the current configuration for this attenuator module.

Parameters:

config (Dict) – A dictionary containing the attenuator configuration to be set.