Relative

SCPI Command:

FETCh:GPRF:MEASurement<Instance>:FFTSanalyzer: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: Hz

  • 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>:FFTSanalyzer:MARKer<nr>:RELative
value: FetchStruct = driver.gprfMeasurement.fftSpecAn.marker.relative.fetch(trace = enums.Statistic.AVERage, function = enums.MarkerFunction.MAX, markerOther = repcap.MarkerOther.Nr2)

Queries the relative coordinates of marker number <no>. Select the trace to be evaluated. Optionally, you can perform a marker action before reading the position.

param trace:

CURRent | AVERage | MAXimum | MINimum Selects the trace type

param function:

MIN | MAX | MAXL | MAXR | MAXN 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

param markerOther:

optional repeated capability selector. Default value: Nr2

return:

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