Mode#

SCPI Command :

DISPlay[:WINDow<n>]:TRACe<t>:MODE
Commands in total: 2
Subgroups: 1
Direct child commands: 1
get ( window=Window.Default, trace=Trace.Default ) → TraceModeC
set ( mode: TraceModeC, window=Window.Default, trace=Trace.Default ) → None
# DISPlay[:WINDow<n>]:TRACe<t>:MODE
# get:
value: enums.TraceModeC = driver.applications.k17Mcgd.display.window.trace.mode.get(window = repcap.Window.Default, trace = repcap.Trace.Default)
# set:
driver.applications.k17Mcgd.display.window.trace.mode.set(mode = enums.TraceModeC.AVERage, window = repcap.Window.Default, trace = repcap.Trace.Default)

This command controls whether a trace is displayed or not, and in which mode. Each trace can only display a certain mode, or nothing at all (Blank) . method RsFsw.display.window.trace.mode.set() below indicates which measurements can display which traces and which trace modes. Note: even if a trace is not displayed, the results can still be queried (see method RsFsw.trace.data.get() ) . In case of max hold, min hold or average trace mode, you can set the number of single measurements with method RsFsw.applications.k10Xlte.sense.sweep.count.set() . Note that synchronization to the end of the measurement is possible only in single sweep mode. For more information see .

Parameters:
  • mode –

    • AVERage: The average is formed over several sweeps. The Sweep/Average Count determines the number of averaging procedures.

    • BLANk: Hides the selected trace.

    • MAXHold: The maximum value is determined over several measurements and displayed. The FSW saves the measurement 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 FSW saves the measurement result in the trace memory only if the new value is lower than the previous one.

    • PDFavg: The probability density function (PDF) of the average value.

    • WRITe: Overwrite mode: the trace is overwritten by each sweep.

  • window – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Window’)

  • trace – optional repeated capability selector. Default value: Tr1 (settable in the interface ‘Trace’)

Cloning the Group

# Create a copy of the original group, that exists independently
mode_copy = driver.applications.k17Mcgd.display.window.trace.mode.clone()

Subgroups