Srs

SCPI Commands :

CONFigure:NRSub:MEASurement<Instance>:SRS:TOUT
CONFigure:NRSub:MEASurement<Instance>:SRS:REPetition
CONFigure:NRSub:MEASurement<Instance>:SRS:SCONdition
CONFigure:NRSub:MEASurement<Instance>:SRS:MOEXception
CONFigure:NRSub:MEASurement<Instance>:SRS:NOResources
CONFigure:NRSub:MEASurement<Instance>:SRS:MRESource
CONFigure:NRSub:MEASurement<Instance>:SRS:NOSubframes
Commands in total: 32
Subgroups: 6
Direct child commands: 7
get_mo_exception() bool[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:MOEXception
value: bool = driver.configure.nrSubMeas.srs.get_mo_exception()

Specifies whether measurement results that the CMP180 identifies as faulty or inaccurate are rejected.

Returns:

meas_on_exception: OFF: Faulty results are rejected. ON: Results are never rejected.

get_mresource() int[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:MRESource
value: int = driver.configure.nrSubMeas.srs.get_mresource()

Selects the SRS resource for modulation and power dynamics measurements (for signals with several SRS resources) .

Returns:

meas_resource: numeric

get_no_resources() int[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:NOResources
value: int = driver.configure.nrSubMeas.srs.get_no_resources()

Configures the number of SRS resources in the measured signal.

Returns:

number_resources: numeric

get_no_sub_frames() int[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:NOSubframes
value: int = driver.configure.nrSubMeas.srs.get_no_sub_frames()

Configures the number of subframes captured for the power vs symbol result diagram.

Returns:

number_subframes: numeric

get_repetition() Repeat[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:REPetition
value: enums.Repeat = driver.configure.nrSubMeas.srs.get_repetition()

Specifies the repetition mode of the measurement. The repetition mode specifies whether the measurement is stopped after a single shot or repeated continuously. Use the CONFigure:…:MEAS<i>:…:SCOunt commands to specify the number of measurement intervals per single shot.

Returns:

repetition: SINGleshot: Single-shot measurement CONTinuous: Continuous measurement

get_scondition() StopCondition[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:SCONdition
value: enums.StopCondition = driver.configure.nrSubMeas.srs.get_scondition()

Qualifies whether the measurement is stopped after a failed limit check or continued. With SLFail, the measurement is stopped and reaches the RDY state when one of the results exceeds the limits.

Returns:

stop_condition: NONE: Continue measurement irrespective of the limit check. SLFail: Stop measurement on limit failure.

get_timeout() float[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:TOUT
value: float = driver.configure.nrSubMeas.srs.get_timeout()

Defines a timeout for the measurement. The timer is started when the measurement is initiated via a READ or INIT command. It is not started if the measurement is initiated manually. When the measurement has completed the first measurement cycle (first single shot) , the statistical depth is reached and the timer is reset. If the first measurement cycle has not been completed when the timer expires, the measurement is stopped. The measurement state changes to RDY. The reliability indicator is set to 1, indicating that a measurement timeout occurred. Still running READ, FETCh or CALCulate commands are completed, returning the available results. At least for some results, there are no values at all or the statistical depth has not been reached. A timeout of 0 s corresponds to an infinite measurement timeout.

Returns:

timeout: numeric

set_mo_exception(meas_on_exception: bool) None[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:MOEXception
driver.configure.nrSubMeas.srs.set_mo_exception(meas_on_exception = False)

Specifies whether measurement results that the CMP180 identifies as faulty or inaccurate are rejected.

Parameters:

meas_on_exception – OFF: Faulty results are rejected. ON: Results are never rejected.

set_mresource(meas_resource: int) None[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:MRESource
driver.configure.nrSubMeas.srs.set_mresource(meas_resource = 1)

Selects the SRS resource for modulation and power dynamics measurements (for signals with several SRS resources) .

Parameters:

meas_resource – numeric

set_no_resources(number_resources: int) None[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:NOResources
driver.configure.nrSubMeas.srs.set_no_resources(number_resources = 1)

Configures the number of SRS resources in the measured signal.

Parameters:

number_resources – numeric

set_no_sub_frames(number_subframes: int) None[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:NOSubframes
driver.configure.nrSubMeas.srs.set_no_sub_frames(number_subframes = 1)

Configures the number of subframes captured for the power vs symbol result diagram.

Parameters:

number_subframes – numeric

set_repetition(repetition: Repeat) None[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:REPetition
driver.configure.nrSubMeas.srs.set_repetition(repetition = enums.Repeat.CONTinuous)

Specifies the repetition mode of the measurement. The repetition mode specifies whether the measurement is stopped after a single shot or repeated continuously. Use the CONFigure:…:MEAS<i>:…:SCOunt commands to specify the number of measurement intervals per single shot.

Parameters:

repetition – SINGleshot: Single-shot measurement CONTinuous: Continuous measurement

set_scondition(stop_condition: StopCondition) None[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:SCONdition
driver.configure.nrSubMeas.srs.set_scondition(stop_condition = enums.StopCondition.NONE)

Qualifies whether the measurement is stopped after a failed limit check or continued. With SLFail, the measurement is stopped and reaches the RDY state when one of the results exceeds the limits.

Parameters:

stop_condition – NONE: Continue measurement irrespective of the limit check. SLFail: Stop measurement on limit failure.

set_timeout(timeout: float) None[source]
# CONFigure:NRSub:MEASurement<Instance>:SRS:TOUT
driver.configure.nrSubMeas.srs.set_timeout(timeout = 1.0)

Defines a timeout for the measurement. The timer is started when the measurement is initiated via a READ or INIT command. It is not started if the measurement is initiated manually. When the measurement has completed the first measurement cycle (first single shot) , the statistical depth is reached and the timer is reset. If the first measurement cycle has not been completed when the timer expires, the measurement is stopped. The measurement state changes to RDY. The reliability indicator is set to 1, indicating that a measurement timeout occurred. Still running READ, FETCh or CALCulate commands are completed, returning the available results. At least for some results, there are no values at all or the statistical depth has not been reached. A timeout of 0 s corresponds to an infinite measurement timeout.

Parameters:

timeout – numeric

Cloning the Group

# Create a copy of the original group, that exists independently
srs_copy = driver.configure.nrSubMeas.srs.clone()

Subgroups