Attenuation

SCPI Commands :

[SOURce<HW>]:POWer:ATTenuation:MAXLevel
[SOURce<HW>]:POWer:ATTenuation:PATTenuator
[SOURce<HW>]:POWer:ATTenuation:STAGe
class AttenuationCls[source]

Attenuation commands group definition. 4 total commands, 1 Subgroups, 3 group commands

get_max_level() float[source]
# SCPI: [SOURce<HW>]:POWer:ATTenuation:MAXLevel
value: float = driver.source.power.attenuation.get_max_level()

No command help available

return:

level: No help available

get_pattenuator() PowAttStepArt[source]
# SCPI: [SOURce<HW>]:POWer:ATTenuation:PATTenuator
value: enums.PowAttStepArt = driver.source.power.attenuation.get_pattenuator()

Selects the type of step attenuator used below 20 GHz.

return:

step_att_sel: MECHanical| ELECtronic MECHanical Uses the mechanical step attenuator at all frequencies. ELECtronic Uses the electronic step attenuator up to 20 GHz.

get_stage() float[source]
# SCPI: [SOURce<HW>]:POWer:ATTenuation:STAGe
value: float = driver.source.power.attenuation.get_stage()

No command help available

return:

stage: No help available

set_max_level(level: float) None[source]
# SCPI: [SOURce<HW>]:POWer:ATTenuation:MAXLevel
driver.source.power.attenuation.set_max_level(level = 1.0)

No command help available

param level:

No help available

set_pattenuator(step_att_sel: PowAttStepArt) None[source]
# SCPI: [SOURce<HW>]:POWer:ATTenuation:PATTenuator
driver.source.power.attenuation.set_pattenuator(step_att_sel = enums.PowAttStepArt.ELECtronic)

Selects the type of step attenuator used below 20 GHz.

param step_att_sel:

MECHanical| ELECtronic MECHanical Uses the mechanical step attenuator at all frequencies. ELECtronic Uses the electronic step attenuator up to 20 GHz.

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.power.attenuation.clone()

Subgroups