State

SCPI Command :

CALCulate<n>:MARKer<m>:FUNCtion:HARMonics[:STATe]
class StateCls[source]

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

get(window=Window.Default, marker=Marker.Default) bool[source]
# SCPI: CALCulate<n>:MARKer<m>:FUNCtion:HARMonics[:STATe]
value: bool = driver.calculate.marker.function.harmonics.state.get(window = repcap.Window.Default, marker = repcap.Marker.Default)
Turns the harmonic distortion measurement on and off. Note the following:

INTRO_CMD_HELP: In Spectrum mode only:

  • If you perform the measurement in the frequency domain, the search range for the frequency of the first harmonic, whose power is determined, is defined by the last span.

  • If you perform the measurement in the time domain, the current center frequency is used as the frequency of the first harmonic. Thus, the frequency search is bypassed. The first harmonic frequency is set by a specific center frequency in zero span before the harmonic measurement is started.

param window

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)

param marker

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Marker’)

return

state: ON | OFF | 1 | 0

set(state: bool, window=Window.Default, marker=Marker.Default) None[source]
# SCPI: CALCulate<n>:MARKer<m>:FUNCtion:HARMonics[:STATe]
driver.calculate.marker.function.harmonics.state.set(state = False, window = repcap.Window.Default, marker = repcap.Marker.Default)
Turns the harmonic distortion measurement on and off. Note the following:

INTRO_CMD_HELP: In Spectrum mode only:

  • If you perform the measurement in the frequency domain, the search range for the frequency of the first harmonic, whose power is determined, is defined by the last span.

  • If you perform the measurement in the time domain, the current center frequency is used as the frequency of the first harmonic. Thus, the frequency search is bypassed. The first harmonic frequency is set by a specific center frequency in zero span before the harmonic measurement is started.

param state

ON | OFF | 1 | 0

param window

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)

param marker

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Marker’)