Absolute

SCPI Command:

FETCh:GPRF:MEASurement<Instance>:SPECtrum:FREQuency:MARKer<nr>:ABSolute
class AbsoluteCls[source]

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

class FetchStruct[source]

Response structure. Fields:

  • Xvalue: float: X-value of the marker Unit: Hz

  • Yvalue: float: Y-value of the marker Unit: dBm

fetch(trace: Statistic, function: MarkerFunction = None, marker=Marker.Nr1) FetchStruct[source]
# SCPI: FETCh:GPRF:MEASurement<Instance>:SPECtrum:FREQuency:MARKer<nr>:ABSolute
value: FetchStruct = driver.gprfMeasurement.spectrum.frequency.marker.absolute.fetch(trace = enums.Statistic.AVERage, function = enums.MarkerFunction.MAX, marker = repcap.Marker.Nr1)

Queries the absolute coordinates of marker number <no> in frequency sweep mode. Marker number one is the reference marker. 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.Frequency.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 marker:

optional repeated capability selector. Default value: Nr1

return:

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