Zoom

SCPI Commands :

LAYout:ZOOM:ADD
LAYout:ZOOM:ONEDiagram
Commands in total: 23
Subgroups: 5
Direct child commands: 2
class AddStruct[source]

Structure for setting input parameters. Fields:

  • Node_Name: str: String with the name of diagram to be zoomed

  • Parent_Type: enums.LayoutParentType: The new zoom diagram is displayed below the original one.

  • Insert_Before: bool: Position of the zoom diagram, depending on ParentType

  • Xstart: int: Defines the x-value at the beginning of the zoom area.

  • Xstop: int: Defines the x-value at the end of the zoom area.

  • Ystart: int: Defines the y-value at the beginning of the zoom area.

  • Ystop: int: Defines the y-value at the end of the zoom area.

  • New_Zoom_Name: str: String with the name of the new zoom diagram.

get_one_diagram() bool[source]
# LAYout:ZOOM:ONEDiagram
value: bool = driver.layout.zoom.get_one_diagram()

Shows all zooms of a diagram in one zoom window. The zoomed areas are overlaid for better comparison of the zoomed waveforms. The command takes effect on all zoom diagrams.

set_add(value: AddStruct) None[source]
# LAYout:ZOOM:ADD
structure = driver.layout.zoom.AddStruct()
structure.Node_Name: str = 'abc'
structure.Parent_Type: enums.LayoutParentType = enums.LayoutParentType.HORizontal
structure.Insert_Before: bool = False
structure.Xstart: int = 1
structure.Xstop: int = 1
structure.Ystart: int = 1
structure.Ystop: int = 1
structure.New_Zoom_Name: str = 'abc'
driver.layout.zoom.set_add(value = structure)

Adds a new zoom diagram based on the specified waveform. For numerical values, the input of a unit is not supported for this command.

Parameters:

value – see the help for AddStruct structure arguments.

set_one_diagram(shw_zm_in_one_diag: bool) None[source]
# LAYout:ZOOM:ONEDiagram
driver.layout.zoom.set_one_diagram(shw_zm_in_one_diag = False)

Shows all zooms of a diagram in one zoom window. The zoomed areas are overlaid for better comparison of the zoomed waveforms. The command takes effect on all zoom diagrams.

Parameters:

shw_zm_in_one_diag – OFF | ON

Cloning the Group

# Create a copy of the original group, that exists independently
zoom_copy = driver.layout.zoom.clone()

Subgroups