Scale
SCPI Command :
DISPlay[:WINDow<n>][:SUBWindow<w>]:TRACe<t>:Y[:SCALe]
- Commands in total: 8Subgroups: 6Direct child commands: 1
- get(window=Window.Default, subWindow=SubWindow.Default, trace=Trace.Default) float[source]
# 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().- 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’)
- Returns:
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]
# 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().- Parameters:
range_py – Range: 1 dB to 200 dB, Unit: HZ
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’)
Cloning the Group
# Create a copy of the original group, that exists independently
scale_copy = driver.display.window.subwindow.trace.y.scale.clone()
Subgroups