Mode
SCPI Commands
DISPlay:WINDow<Window>:SUBWindow<SubWindow>:TRACe<Trace>:MODE
- class ModeCls[source]
Mode commands group definition. 2 total commands, 1 Subgroups, 1 group commands
- get(window=Window.Default, subWindow=SubWindow.Default, trace=Trace.Default) TraceModeF [source]
# SCPI: DISPlay[:WINDow<n>][:SUBWindow<w>]:TRACe<t>:MODE value: enums.TraceModeF = driver.display.window.subwindow.trace.mode.get(window = repcap.Window.Default, subWindow = repcap.SubWindow.Default, trace = repcap.Trace.Default)
This command selects the trace mode. If necessary, the selected trace is also activated. For max hold, min hold or average trace mode, you can set the number of single measurements with [SENSe:]SWEep:COUNt. Note that synchronization to the end of the measurement is possible only in single sweep mode. For more information, see ‘Analyzing several traces - trace mode’.
- param window
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Window’)
- param subWindow
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Subwindow’)
- param trace
optional repeated capability selector. Default value: Tr1 (settable in the interface ‘Trace’)
- return
trace_mode: WRITe (default:) Overwrite mode: the trace is overwritten by each sweep. AVERage The average is formed over several sweeps. The ‘Sweep/Average Count’ determines the number of averaging procedures. MAXHold The maximum value is determined over several sweeps and displayed. The R&S FSWP saves the sweep result in the trace memory only if the new value is greater than the previous one. MINHold The minimum value is determined from several measurements and displayed. The R&S FSWP saves the sweep result in the trace memory only if the new value is lower than the previous one. VIEW The current contents of the trace memory are frozen and displayed. BLANk Hides the selected trace. WRHold The trace is overwritten when new data is available, but only after all cross-correlation operations defined for a half decade are done.
- set(trace_mode: TraceModeF, window=Window.Default, subWindow=SubWindow.Default, trace=Trace.Default) None [source]
# SCPI: DISPlay[:WINDow<n>][:SUBWindow<w>]:TRACe<t>:MODE driver.display.window.subwindow.trace.mode.set(trace_mode = enums.TraceModeF.AVERage, window = repcap.Window.Default, subWindow = repcap.SubWindow.Default, trace = repcap.Trace.Default)
This command selects the trace mode. If necessary, the selected trace is also activated. For max hold, min hold or average trace mode, you can set the number of single measurements with [SENSe:]SWEep:COUNt. Note that synchronization to the end of the measurement is possible only in single sweep mode. For more information, see ‘Analyzing several traces - trace mode’.
- param trace_mode
WRITe (default:) Overwrite mode: the trace is overwritten by each sweep. AVERage The average is formed over several sweeps. The ‘Sweep/Average Count’ determines the number of averaging procedures. MAXHold The maximum value is determined over several sweeps and displayed. The R&S FSWP saves the sweep result in the trace memory only if the new value is greater than the previous one. MINHold The minimum value is determined from several measurements and displayed. The R&S FSWP saves the sweep result in the trace memory only if the new value is lower than the previous one. VIEW The current contents of the trace memory are frozen and displayed. BLANk Hides the selected trace. WRHold The trace is overwritten when new data is available, but only after all cross-correlation operations defined for a half decade are done.
- param window
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Window’)
- param subWindow
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Subwindow’)
- param trace
optional repeated capability selector. Default value: Tr1 (settable in the interface ‘Trace’)
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.display.window.subwindow.trace.mode.clone()
Subgroups