Area#
SCPI Command :
- DISPlay[:WINDow<n>][:SUBWindow<w>]:ZOOM:AREA
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get ( window=Window.Default, subWindow=SubWindow.Default ) AreaStruct
- set ( x_1: float, y_1: float, x_2: float, y_2: float, window=Window.Default, subWindow=SubWindow.Default ) None
# DISPlay[:WINDow<n>][:SUBWindow<w>]:ZOOM:AREA # get: value: AreaStruct = driver.display.window.subwindow.zoom.area.get(window = repcap.Window.Default, subWindow = repcap.SubWindow.Default) # set: driver.display.window.subwindow.zoom.area.set(x_1 = 1.0, y_1 = 1.0, x_2 = 1.0, y_2 = 1.0, window = repcap.Window.Default, subWindow = repcap.SubWindow.Default)
Defines the zoom area. To define a zoom area, you first have to turn the zoom on.
- Parameters:
x_1 – Diagram coordinates in % of the complete diagram that define the zoom area. The lower left corner is the origin of coordinate system. The upper right corner is the end point of the system.
y_1 – Diagram coordinates in % of the complete diagram that define the zoom area. The lower left corner is the origin of coordinate system. The upper right corner is the end point of the system.
x_2 – Diagram coordinates in % of the complete diagram that define the zoom area. The lower left corner is the origin of coordinate system. The upper right corner is the end point of the system.
y_2 – Diagram coordinates in % of the complete diagram that define the zoom area. The lower left corner is the origin of coordinate system. The upper right corner is the end point of the system.
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’)
- Returns:
structure: for return value, see the help for AreaStruct structure arguments.
- class AreaStruct
Response structure. Fields:
1 X_1: float: Diagram coordinates in % of the complete diagram that define the zoom area. The lower left corner is the origin of coordinate system. The upper right corner is the end point of the system.
2 Y_1: float: Diagram coordinates in % of the complete diagram that define the zoom area. The lower left corner is the origin of coordinate system. The upper right corner is the end point of the system.
3 X_2: float: Diagram coordinates in % of the complete diagram that define the zoom area. The lower left corner is the origin of coordinate system. The upper right corner is the end point of the system.
4 Y_2: float: Diagram coordinates in % of the complete diagram that define the zoom area. The lower left corner is the origin of coordinate system. The upper right corner is the end point of the system.