State
SCPI Command :
CALCulate<n>:MARKer<m>:FUNCtion:HARMonics[:STATe]
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(window=Window.Default, marker=Marker.Default) bool[source]
# 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: 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.
- Parameters:
window – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)
marker – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Marker’)
- Returns:
state: ON | OFF | 1 | 0
- set(state: bool, window=Window.Default, marker=Marker.Default) None[source]
# 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: 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.
- Parameters:
state – ON | OFF | 1 | 0
window – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)
marker – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Marker’)