Ramp
SCPI Commands :
[SOURce<HW>]:BB:PRAMp:RAMP:ATTenuation
[SOURce<HW>]:BB:PRAMp:RAMP:CONStmode
[SOURce<HW>]:BB:PRAMp:RAMP:LEVel
[SOURce<HW>]:BB:PRAMp:RAMP:RANGe
[SOURce<HW>]:BB:PRAMp:RAMP:RESolution
[SOURce<HW>]:BB:PRAMp:RAMP:SAMPlerate
[SOURce<HW>]:BB:PRAMp:RAMP:SHAPe
[SOURce<HW>]:BB:PRAMp:RAMP:SLOPe
[SOURce<HW>]:BB:PRAMp:RAMP:STARtlevel
[SOURce<HW>]:BB:PRAMp:RAMP:STOPlevel
- class RampCls[source]
Ramp commands group definition. 21 total commands, 5 Subgroups, 10 group commands
- get_attenuation() float [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:ATTenuation value: float = driver.source.bb.pramp.ramp.get_attenuation()
Sets the attenuation in constant power sweep mode.
- return:
const_atten: float Range: 0.01 to 60
- get_constmode() bool [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:CONStmode value: bool = driver.source.bb.pramp.ramp.get_constmode()
Enables power constant mode.
- return:
constmode: 1| ON| 0| OFF
- get_level() float [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:LEVel value: float = driver.source.bb.pramp.ramp.get_level()
Queries the resulting constant power value of the power sweep.
- return:
const_level: float Range: -145 to 30
- get_range() float [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:RANGe value: float = driver.source.bb.pramp.ramp.get_range()
Sets the power sweep range.
- return:
range_py: float Range: 0.01 to 50, Unit: dB
- get_resolution() float [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:RESolution value: float = driver.source.bb.pramp.ramp.get_resolution()
Queries the resolution of the power steps.
- return:
power_resolution: float Range: 0 to 60
- get_sample_rate() float [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:SAMPlerate value: float = driver.source.bb.pramp.ramp.get_sample_rate()
Queries the calculated sample rate.
- return:
sample_rate: float Range: 0 to 20
- get_shape() PowerRampShape [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:SHAPe value: enums.PowerRampShape = driver.source.bb.pramp.ramp.get_shape()
Selects the power sweep shape.
- return:
shape: LINear| STAir| TRIangle LINear The sweep curve resembles a sawtooth. STAir The sweep curve resembles a stair step with definable ‘Dwell time’ or ‘Power step’, see [:SOURcehw]:BB:PRAMp:RAMP:STAir:DWELl:TIME and [:SOURcehw]:BB:PRAMp:RAMP:STAir:STEP:LEVel. TRIangle The sweep curve resembles a triangle.
- get_slope() PowerRampSlope [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:SLOPe value: enums.PowerRampSlope = driver.source.bb.pramp.ramp.get_slope()
Sets the slope direction (increasing or decreasing) .
- return:
slope: ASCending| DESCending
- get_start_level() float [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:STARtlevel value: float = driver.source.bb.pramp.ramp.get_start_level()
Queries the start or end power values of the active measurement.
- return:
start_level: float Range: -145 to 30
- get_stop_level() float [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:STOPlevel value: float = driver.source.bb.pramp.ramp.get_stop_level()
Queries the start or end power values of the active measurement.
- return:
stop_level: float Range: -145 to 30
- set_attenuation(const_atten: float) None [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:ATTenuation driver.source.bb.pramp.ramp.set_attenuation(const_atten = 1.0)
Sets the attenuation in constant power sweep mode.
- param const_atten:
float Range: 0.01 to 60
- set_constmode(constmode: bool) None [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:CONStmode driver.source.bb.pramp.ramp.set_constmode(constmode = False)
Enables power constant mode.
- param constmode:
1| ON| 0| OFF
- set_range(range_py: float) None [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:RANGe driver.source.bb.pramp.ramp.set_range(range_py = 1.0)
Sets the power sweep range.
- param range_py:
float Range: 0.01 to 50, Unit: dB
- set_shape(shape: PowerRampShape) None [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:SHAPe driver.source.bb.pramp.ramp.set_shape(shape = enums.PowerRampShape.LINear)
Selects the power sweep shape.
- param shape:
LINear| STAir| TRIangle LINear The sweep curve resembles a sawtooth. STAir The sweep curve resembles a stair step with definable ‘Dwell time’ or ‘Power step’, see [:SOURcehw]:BB:PRAMp:RAMP:STAir:DWELl:TIME and [:SOURcehw]:BB:PRAMp:RAMP:STAir:STEP:LEVel. TRIangle The sweep curve resembles a triangle.
- set_slope(slope: PowerRampSlope) None [source]
# SCPI: [SOURce<HW>]:BB:PRAMp:RAMP:SLOPe driver.source.bb.pramp.ramp.set_slope(slope = enums.PowerRampSlope.ASCending)
Sets the slope direction (increasing or decreasing) .
- param slope:
ASCending| DESCending
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.bb.pramp.ramp.clone()
Subgroups