Speak

SCPI Command :

FETCh:GPRF:MEASurement<Instance>:SPECtrum:REFMarker:SPEak
class SpeakCls[source]

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

class FetchStruct[source]

Response structure. Fields:

  • Reliability: int: decimal See ‘Reliability indicator’

  • Xvalue: float: float X value

  • Yvalue: float: float Y value Unit: dBm

fetch(detector: Detector, statistic: Statistic) FetchStruct[source]
# SCPI: FETCh:GPRF:MEASurement<Instance>:SPECtrum:REFMarker:SPEak
value: FetchStruct = driver.spectrum.referenceMarker.speak.fetch(detector = enums.Detector.AUTopeak, statistic = enums.Statistic.AVERage)

Moves the reference marker to the highest peak of the trace determined by <Detector> and <Statistic> and returns the X and Y value of the new marker position.

param detector:

AVERage | RMS | SAMPle | MINPeak | MAXPeak | AUTopeak Selects the detector type, see ‘Detector hotkey’.

param statistic:

CURRent | AVERage | MAXimum | MINimum Selects the trace type.

return:

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