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
class PowerCls[source]

Power commands group definition. 16 total commands, 3 Subgroups, 13 group commands

abort() None[source]
# SCPI: [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]
# SCPI: [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.

param opc_timeout_ms

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

delete() None[source]
# SCPI: [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]
# SCPI: [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.

param opc_timeout_ms

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

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

Sets the acquisition method.

return

acquistion: NOMinal| CONTinuous| GATed| MGATed

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

Sets the measurement’s time of a single measurement.

return

duration: float Range: 1E-3 to 5400

get_gsource() RsSmw.enums.BbMeasPowGateSour[source]
# SCPI: [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 ([:SOURce]:BB:MEASurement:POWer:ACQuisition) .

return

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]
# SCPI: [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.

return

meas_index: integer Range: 1 to dynamic

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

Defines the output point the measurement are performed at.

return

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

get_peak() List[float][source]
# SCPI: [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 command [:SOURce]:BB:MEASurement:POWer:OUTPut.

return

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]
# SCPI: [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.

return

progress: float Range: 0 to 100

get_rmode() RsSmw.enums.BlerTrigMode[source]
# SCPI: [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.

return

run_mode: SINGle| AUTO

get_rms() List[float][source]
# SCPI: [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 command [:SOURce]:BB:MEASurement:POWer:OUTPut.

return

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]
# SCPI: [SOURce]:BB:MEASurement:POWer:RSTate
value: bool = driver.source.bb.measurement.power.get_rstate()

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

return

run_state: 1| ON| 0| OFF

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

Defines the measurement signal source.

return

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: RsSmw.enums.BbMeasPowAcq) None[source]
# SCPI: [SOURce]:BB:MEASurement:POWer:ACQuisition
driver.source.bb.measurement.power.set_acquisition(acquistion = enums.BbMeasPowAcq.CONTinuous)

Sets the acquisition method.

param acquistion

NOMinal| CONTinuous| GATed| MGATed

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

Sets the measurement’s time of a single measurement.

param duration

float Range: 1E-3 to 5400

set_gsource(gate_source: RsSmw.enums.BbMeasPowGateSour) None[source]
# SCPI: [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 ([:SOURce]:BB:MEASurement:POWer:ACQuisition) .

param 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]
# SCPI: [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.

param meas_index

integer Range: 1 to dynamic

set_output(output: RsSmw.enums.BbMeasPowOutp) None[source]
# SCPI: [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.

param output

RFA| RFB| IQOUT1| IQOUT2| BBMM1| BBMM2

set_rmode(run_mode: RsSmw.enums.BlerTrigMode) None[source]
# SCPI: [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.

param run_mode

SINGle| AUTO

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

Defines the measurement signal source.

param 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 clone of the original group, that exists independently
group2 = driver.source.bb.measurement.power.clone()

Subgroups