Scale

SCPI Command :

DISPlay[:WINDow<n>][:SUBWindow<w>]:TRACe<t>:Y[:SCALe]
class ScaleCls[source]

Scale commands group definition. 8 total commands, 6 Subgroups, 1 group commands

get(window=Window.Default, subWindow=SubWindow.Default, trace=Trace.Default) float[source]
# SCPI: DISPlay[:WINDow<n>][:SUBWindow<w>]:TRACe<t>:Y[:SCALe]
value: float = driver.display.window.subwindow.trace.y.scale.get(window = repcap.Window.Default, subWindow = repcap.SubWindow.Default, trace = repcap.Trace.Default)

Defines the display range of the y-axis (for all traces) . Note that the command works only for a logarithmic scaling. You can select the scaling with method RsFsw.Display.Window.Subwindow.Trace.Y.Spacing.set.

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

range_py: Range: 1 dB to 200 dB, Unit: HZ

set(range_py: float, window=Window.Default, subWindow=SubWindow.Default, trace=Trace.Default) None[source]
# SCPI: DISPlay[:WINDow<n>][:SUBWindow<w>]:TRACe<t>:Y[:SCALe]
driver.display.window.subwindow.trace.y.scale.set(range_py = 1.0, window = repcap.Window.Default, subWindow = repcap.SubWindow.Default, trace = repcap.Trace.Default)

Defines the display range of the y-axis (for all traces) . Note that the command works only for a logarithmic scaling. You can select the scaling with method RsFsw.Display.Window.Subwindow.Trace.Y.Spacing.set.

param range_py

Range: 1 dB to 200 dB, Unit: HZ

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.y.scale.clone()

Subgroups