Attenuation

SCPI Commands :

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

Attenuation commands group definition. 6 total commands, 3 Subgroups, 3 group commands

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

Sets a relative attenuation value for the baseband signal.

return

att_digital: float Range: -3.522 to 80

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

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

Sets the attenuation value of the RF signal in manual mode, set with command method RsSmw.Output.amode.

return

attenuation: integer Range: depends on the installed options

set_digital(att_digital: float) None[source]
# SCPI: [SOURce<HW>]:POWer:ATTenuation:DIGital
driver.source.power.attenuation.set_digital(att_digital = 1.0)

Sets a relative attenuation value for the baseband signal.

param att_digital

float Range: -3.522 to 80

set_value(attenuation: int) None[source]
# SCPI: [SOURce<HW>]:POWer:ATTenuation
driver.source.power.attenuation.set_value(attenuation = 1)

Sets the attenuation value of the RF signal in manual mode, set with command method RsSmw.Output.amode.

param attenuation

integer Range: depends on the installed options

Cloning the Group

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

Subgroups