Auto

SCPI Commands :

SENSe:[POWer]:SWEep:TIME:YSCale:AUTO:RESet
SENSe:[POWer]:SWEep:TIME:YSCale:AUTO
class AutoCls[source]

Auto commands group definition. 2 total commands, 0 Subgroups, 2 group commands

get_value() MeasRespYsCaleMode[source]
# SCPI: SENSe:[POWer]:SWEep:TIME:YSCale:AUTO
value: enums.MeasRespYsCaleMode = driver.sense.power.sweep.time.yscale.auto.get_value()

Activates autoscaling of the Y axis in the diagram.

return:

auto: OFF| CEXPanding| FEXPanding| CFLoating| FFLoating OFF Auto scaling is deactivated. When switching from activated to deactivated Auto scaling, the scaling is maintained. When switching from deactivated to activated Auto scaling, the scaling is reset to min = max = 0. CEXPanding | FEXPanding Auto scale is activated. The scaling of the Y-axis is selected in such a way, that the trace is always visible. To this end, the range is expanded if the minimum or maximum values of the trace move outside the current scale. The step width is 5 dB for selection course and variable in the range of 0.2 db to 5 dB for selection fine. CFLoating | FFLoating Auto scale is activated. The scaling of the Y-axis is selected in such a way, that the trace is always visible. To this end, the range is either expanded if the minimum or maximum values of the trace move outside the current scale or scaled down if the trace fits into a reduced scale. The step width is 5 dB for selection course and variable in the range of 0.2 db to 5 dB for selection fine.

reset() None[source]
# SCPI: SENSe:[POWer]:SWEep:TIME:YSCale:AUTO:RESet
driver.sense.power.sweep.time.yscale.auto.reset()

Resets the Y scale to suitable values after the use of auto scaling in the expanding mode. For this mode, the scale might get expanded because of temporarily high power values. The reset function allows resetting the diagram to match smaller power values again.

reset_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: SENSe:[POWer]:SWEep:TIME:YSCale:AUTO:RESet
driver.sense.power.sweep.time.yscale.auto.reset_with_opc()

Resets the Y scale to suitable values after the use of auto scaling in the expanding mode. For this mode, the scale might get expanded because of temporarily high power values. The reset function allows resetting the diagram to match smaller power values again.

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

param opc_timeout_ms:

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

set_value(auto: MeasRespYsCaleMode) None[source]
# SCPI: SENSe:[POWer]:SWEep:TIME:YSCale:AUTO
driver.sense.power.sweep.time.yscale.auto.set_value(auto = enums.MeasRespYsCaleMode.CEXPanding)

Activates autoscaling of the Y axis in the diagram.

param auto:

OFF| CEXPanding| FEXPanding| CFLoating| FFLoating OFF Auto scaling is deactivated. When switching from activated to deactivated Auto scaling, the scaling is maintained. When switching from deactivated to activated Auto scaling, the scaling is reset to min = max = 0. CEXPanding | FEXPanding Auto scale is activated. The scaling of the Y-axis is selected in such a way, that the trace is always visible. To this end, the range is expanded if the minimum or maximum values of the trace move outside the current scale. The step width is 5 dB for selection course and variable in the range of 0.2 db to 5 dB for selection fine. CFLoating | FFLoating Auto scale is activated. The scaling of the Y-axis is selected in such a way, that the trace is always visible. To this end, the range is either expanded if the minimum or maximum values of the trace move outside the current scale or scaled down if the trace fits into a reduced scale. The step width is 5 dB for selection course and variable in the range of 0.2 db to 5 dB for selection fine.