Select#

SCPI Command :

DISPlay[:WINDow<n>][:SUBWindow<w>]:TRACe<t>:SELect
Commands in total: 1
Subgroups: 0
Direct child commands: 1
set ( window=Window.Default, subWindow=SubWindow.Default, trace=Trace.Default ) → None
set_with_opc ( window=Window.Default, subWindow=SubWindow.Default, trace=Trace.Default, opc_timeout_ms: int = -1 ) → None
# DISPlay[:WINDow<n>][:SUBWindow<w>]:TRACe<t>:SELect
# set:
driver.display.window.subwindow.trace.select.set(window = repcap.Window.Default, subWindow = repcap.SubWindow.Default, trace = repcap.Trace.Default)
# set_with_opc:
driver.display.window.subwindow.trace.select.set_with_opc(window = repcap.Window.Default, subWindow = repcap.SubWindow.Default, trace = repcap.Trace.Default, opc_timeout_ms = 3000)

Selects the trace specified by the index <t> in the window specified by the index <n>. Only traces that are active in the specified result display can be selected. The selected trace is used to determine the Result Summary for the corresponding result display. The query returns the number of the currently selected trace in the window specified by the index <n> (trace index is ignored) . Traces can only be queried for graphical result displays (not Result Summary, Marker Table or Peak Marker List) .

set_with_opc() does the same as set(), but waits for the operation to complete before continuing further. Use the RsFsw.utilities.opc_timeout to set the timeout value.

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

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

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

  • opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.