Marker

SCPI Command:

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

Marker commands group definition. 3 total commands, 2 Subgroups, 1 group commands

class FetchStruct[source]

Response structure. Fields:

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

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

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

Moves marker number <no> to a specified x-value and returns the absolute coordinates in frequency sweep mode. Absolute placement is used. Marker number one is the reference marker. Select the trace to be evaluated and the x-value.

param trace:

CURRent | AVERage | MAXimum | MINimum Selects the trace type

param freq_value:

X-value for which the coordinates are queried Select a value within the measured span. Unit: Hz

param marker:

optional repeated capability selector. Default value: Nr1

return:

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

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.gprfMeasurement.spectrum.frequency.marker.clone()

Subgroups