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
Commands in total: 21
Subgroups: 5
Direct child commands: 10
get_attenuation() float[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:ATTenuation
value: float = driver.source.bb.pramp.ramp.get_attenuation()

Sets the attenuation in constant power sweep mode.

Returns:

const_atten: float Range: 0.01 to 60

get_constmode() bool[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:CONStmode
value: bool = driver.source.bb.pramp.ramp.get_constmode()

Enables power constant mode.

Returns:

constmode: 1 | ON | 0| OFF

get_level() float[source]
# [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.

Returns:

const_level: float Range: -145 to 30

get_range() float[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:RANGe
value: float = driver.source.bb.pramp.ramp.get_range()

Sets the power sweep range.

Returns:

range_py: float Range: 0.01 to 50, Unit: dB

get_resolution() float[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:RESolution
value: float = driver.source.bb.pramp.ramp.get_resolution()

Queries the resolution of the power steps.

Returns:

power_resolution: float Range: 0 to 60

get_sample_rate() float[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:SAMPlerate
value: float = driver.source.bb.pramp.ramp.get_sample_rate()

Queries the calculated sample rate.

Returns:

sample_rate: float Range: 0 to 20

get_shape() PowerRampShape[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:SHAPe
value: enums.PowerRampShape = driver.source.bb.pramp.ramp.get_shape()

Selects the power sweep shape.

Returns:

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 method RsSmw.source.bb.pramp.ramp.stair.dwell.time() and method RsSmw.source.bb.pramp.ramp.stair.step.level() . TRIangle The sweep curve resembles a triangle.

get_slope() PowerRampSlope[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:SLOPe
value: enums.PowerRampSlope = driver.source.bb.pramp.ramp.get_slope()

Sets the slope direction (increasing or decreasing) .

Returns:

slope: ASCending | DESCending

get_start_level() float[source]
# [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.

Returns:

start_level: float Range: -145 to 30

get_stop_level() float[source]
# [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.

Returns:

stop_level: float Range: -145 to 30

set_attenuation(const_atten: float) None[source]
# [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.

Parameters:

const_atten – float Range: 0.01 to 60

set_constmode(constmode: bool) None[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:CONStmode
driver.source.bb.pramp.ramp.set_constmode(constmode = False)

Enables power constant mode.

Parameters:

constmode – 1 | ON | 0| OFF

set_range(range_py: float) None[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:RANGe
driver.source.bb.pramp.ramp.set_range(range_py = 1.0)

Sets the power sweep range.

Parameters:

range_py – float Range: 0.01 to 50, Unit: dB

set_shape(shape: PowerRampShape) None[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:SHAPe
driver.source.bb.pramp.ramp.set_shape(shape = enums.PowerRampShape.LINear)

Selects the power sweep shape.

Parameters:

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 method RsSmw.source.bb.pramp.ramp.stair.dwell.time() and method RsSmw.source.bb.pramp.ramp.stair.step.level() . TRIangle The sweep curve resembles a triangle.

set_slope(slope: PowerRampSlope) None[source]
# [SOURce<HW>]:BB:PRAMp:RAMP:SLOPe
driver.source.bb.pramp.ramp.set_slope(slope = enums.PowerRampSlope.ASCending)

Sets the slope direction (increasing or decreasing) .

Parameters:

slope – ASCending | DESCending

Cloning the Group

# Create a copy of the original group, that exists independently
ramp_copy = driver.source.bb.pramp.ramp.clone()

Subgroups