Power

SCPI Commands :

[SOURce]:BB:MEASurement:POWer:ABORt
[SOURce]:BB:MEASurement:POWer:ACQuisition
[SOURce]:BB:MEASurement:POWer:DELete
[SOURce]:BB:MEASurement:POWer:DURation
[SOURce]:BB:MEASurement:POWer:GSOurce
[SOURce]:BB:MEASurement:POWer:INDex
[SOURce]:BB:MEASurement:POWer:OUTPut
[SOURce]:BB:MEASurement:POWer:PEAK
[SOURce]:BB:MEASurement:POWer:PROGress
[SOURce]:BB:MEASurement:POWer:RMODe
[SOURce]:BB:MEASurement:POWer:RMS
[SOURce]:BB:MEASurement:POWer:RSTate
[SOURce]:BB:MEASurement:POWer:SOURce
Commands in total: 16
Subgroups: 3
Direct child commands: 13
abort() None[source]
# [SOURce]:BB:MEASurement:POWer:ABORt
driver.source.bb.measurement.power.abort()

Stops the current measurement.

abort_with_opc(opc_timeout_ms: int = -1) None[source]
# [SOURce]:BB:MEASurement:POWer:ABORt
driver.source.bb.measurement.power.abort_with_opc()

Stops the current measurement.

Same as abort, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

delete() None[source]
# [SOURce]:BB:MEASurement:POWer:DELete
driver.source.bb.measurement.power.delete()

Removes the selected measurement from the list.

delete_with_opc(opc_timeout_ms: int = -1) None[source]
# [SOURce]:BB:MEASurement:POWer:DELete
driver.source.bb.measurement.power.delete_with_opc()

Removes the selected measurement from the list.

Same as delete, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

get_acquisition() BbMeasPowAcq[source]
# [SOURce]:BB:MEASurement:POWer:ACQuisition
value: enums.BbMeasPowAcq = driver.source.bb.measurement.power.get_acquisition()

Sets the acquisition method.

Returns:

acquistion: NOMinal | CONTinuous | GATed | MGATed

get_duration() float[source]
# [SOURce]:BB:MEASurement:POWer:DURation
value: float = driver.source.bb.measurement.power.get_duration()

Sets the measurement’s time of a single measurement.

Returns:

duration: float Range: 1E-3 to 5400

get_gsource() BbMeasPowGateSour[source]
# [SOURce]:BB:MEASurement:POWer:GSOurce
value: enums.BbMeasPowGateSour = driver.source.bb.measurement.power.get_gsource()

Determines the marker signal defining the signal part to be evaluated. The available values depend on the selected acquisition (method RsSmw.source.bb.measurement.power.acquisition() ) .

Returns:

gate_source: NONE | MARK1 | MARK2 | MARK3 | MGATed NONE Default value for nominal and continuous acquisition. MARK1 | MARK2 | MARK3 Marker signal as defined in the baseband MGATed Reserved for multi gated acquisition

get_index() int[source]
# [SOURce]:BB:MEASurement:POWer:INDex
value: int = driver.source.bb.measurement.power.get_index()

Selects the measurement index the subsequent settings apply to, for example changing, starting or removing form the list of measurements.

Returns:

meas_index: integer Range: 1 to dynamic

get_output() BbMeasPowOutp[source]
# [SOURce]:BB:MEASurement:POWer:OUTPut
value: enums.BbMeasPowOutp = driver.source.bb.measurement.power.get_output()

Defines the output point the measurement are performed at.

Returns:

output: RFA | RFB | IQOUT1 | IQOUT2 | BBMM1 | BBMM2

get_peak() List[float][source]
# [SOURce]:BB:MEASurement:POWer:PEAK
value: List[float] = driver.source.bb.measurement.power.get_peak()

Queries the peak power of the baseband signal at the measurement point determined with the method RsSmw.source.bb.measurement.power.output() .

Returns:

peak_power: Peak_SubMes#1,Peak_SubMes#2,… Returns the peak power of the measured signal or if a multi-gated acquisition is used, a string of measured values with one value per performed submeasurement Range: -145 to 30

get_progress() float[source]
# [SOURce]:BB:MEASurement:POWer:PROGress
value: float = driver.source.bb.measurement.power.get_progress()

Queries the status of the initiated measurement. The query returns a value that indicates the task progress in percent.

Returns:

progress: float Range: 0 to 100

get_rmode() BlerTrigMode[source]
# [SOURce]:BB:MEASurement:POWer:RMODe
value: enums.BlerTrigMode = driver.source.bb.measurement.power.get_rmode()

Determines whether a single or a continuous measurement is executed.

Returns:

run_mode: SINGle | AUTO

get_rms() List[float][source]
# [SOURce]:BB:MEASurement:POWer:RMS
value: List[float] = driver.source.bb.measurement.power.get_rms()

Queries the RMS power of the baseband signal at the measurement point determined with the method RsSmw.source.bb.measurement.power.output() .

Returns:

rms_power: Power_SubMes#1,Level_SubMes#2,… Returns the power of the measured signal or if a multi-gated acquisition is used, a string of measured values with one value per performed submeasurement Range: -145 to 30

get_rstate() bool[source]
# [SOURce]:BB:MEASurement:POWer:RSTate
value: bool = driver.source.bb.measurement.power.get_rstate()

Queries the state (running/stopped) of the current measurement.

Returns:

run_state: 1 | ON | 0| OFF

get_source() BbMeasPowSour[source]
# [SOURce]:BB:MEASurement:POWer:SOURce
value: enums.BbMeasPowSour = driver.source.bb.measurement.power.get_source()

Defines the measurement signal source.

Returns:

source: BBA | BBB | BBC | BBD | BBINA | BBINB | FADINPA | FADINPB | FADINPC | FADINPD | FADOUTA | FADOUTB | FADOUTC | FADOUTD | AWGNA | AWGNB | AWGNC | AWGND | STREAMA | STREAMB | STREAMC | STREAMD

set_acquisition(acquistion: BbMeasPowAcq) None[source]
# [SOURce]:BB:MEASurement:POWer:ACQuisition
driver.source.bb.measurement.power.set_acquisition(acquistion = enums.BbMeasPowAcq.CONTinuous)

Sets the acquisition method.

Parameters:

acquistion – NOMinal | CONTinuous | GATed | MGATed

set_duration(duration: float) None[source]
# [SOURce]:BB:MEASurement:POWer:DURation
driver.source.bb.measurement.power.set_duration(duration = 1.0)

Sets the measurement’s time of a single measurement.

Parameters:

duration – float Range: 1E-3 to 5400

set_gsource(gate_source: BbMeasPowGateSour) None[source]
# [SOURce]:BB:MEASurement:POWer:GSOurce
driver.source.bb.measurement.power.set_gsource(gate_source = enums.BbMeasPowGateSour.MARK1)

Determines the marker signal defining the signal part to be evaluated. The available values depend on the selected acquisition (method RsSmw.source.bb.measurement.power.acquisition() ) .

Parameters:

gate_source – NONE | MARK1 | MARK2 | MARK3 | MGATed NONE Default value for nominal and continuous acquisition. MARK1 | MARK2 | MARK3 Marker signal as defined in the baseband MGATed Reserved for multi gated acquisition

set_index(meas_index: int) None[source]
# [SOURce]:BB:MEASurement:POWer:INDex
driver.source.bb.measurement.power.set_index(meas_index = 1)

Selects the measurement index the subsequent settings apply to, for example changing, starting or removing form the list of measurements.

Parameters:

meas_index – integer Range: 1 to dynamic

set_output(output: BbMeasPowOutp) None[source]
# [SOURce]:BB:MEASurement:POWer:OUTPut
driver.source.bb.measurement.power.set_output(output = enums.BbMeasPowOutp.BBMM1)

Defines the output point the measurement are performed at.

Parameters:

output – RFA | RFB | IQOUT1 | IQOUT2 | BBMM1 | BBMM2

set_rmode(run_mode: BlerTrigMode) None[source]
# [SOURce]:BB:MEASurement:POWer:RMODe
driver.source.bb.measurement.power.set_rmode(run_mode = enums.BlerTrigMode.AUTO)

Determines whether a single or a continuous measurement is executed.

Parameters:

run_mode – SINGle | AUTO

set_source(source: BbMeasPowSour) None[source]
# [SOURce]:BB:MEASurement:POWer:SOURce
driver.source.bb.measurement.power.set_source(source = enums.BbMeasPowSour.AWGNA)

Defines the measurement signal source.

Parameters:

source – BBA | BBB | BBC | BBD | BBINA | BBINB | FADINPA | FADINPB | FADINPC | FADINPD | FADOUTA | FADOUTB | FADOUTC | FADOUTD | AWGNA | AWGNB | AWGNC | AWGND | STREAMA | STREAMB | STREAMC | STREAMD

Cloning the Group

# Create a copy of the original group, that exists independently
power_copy = driver.source.bb.measurement.power.clone()

Subgroups