Relative

SCPI Command:

FETCh:GPRF:MEASurement<Instance>:SPECtrum:ZSPan:MARKer<nr>:RELative
class RelativeCls[source]

Relative commands group definition. 1 total commands, 0 Subgroups, 1 group commands

class FetchStruct[source]

Response structure. Fields:

  • Dx_Value: float: Delta X value of the marker relative to the reference marker Unit: s

  • Dy_Value: float: Delta Y value of the marker relative to the reference marker Unit: dB

fetch(trace: Statistic, function: MarkerFunction = None, markerOther=MarkerOther.Nr2) FetchStruct[source]
# SCPI: FETCh:GPRF:MEASurement<Instance>:SPECtrum:ZSPan:MARKer<nr>:RELative
value: FetchStruct = driver.gprfMeasurement.spectrum.zeroSpan.marker.relative.fetch(trace = enums.Statistic.AVERage, function = enums.MarkerFunction.MAX, markerOther = repcap.MarkerOther.Nr2)

Queries the relative coordinates of marker number <no> in zero span mode. Select the trace to be evaluated. Optionally, you can perform a marker action before reading the position. To configure a range for the action MAXV, see method RsCma. Configure.GprfMeasurement.Spectrum.ZeroSpan.Marker.Range.set.

param trace:

CURRent | AVERage | MAXimum | MINimum Selects the trace type

param function:

MIN | MAX | MAXL | MAXR | MAXN | MAXV Marker action to be performed before the query MIN Search the absolute minimum of the entire trace MAX Search the absolute maximum of the entire trace MAXL Search the absolute maximum to the left of the current marker position MAXR Search the absolute maximum to the right of the current marker position MAXN Search the next lower peak of the entire trace MAXV Search the absolute maximum within a defined range of the trace

param markerOther:

optional repeated capability selector. Default value: Nr2

return:

structure: for return value, see the help for FetchStruct structure arguments.