Diagram
SCPI Commands :
DISPlay:DIAGram:CROSshair
DISPlay:DIAGram:GRID
DISPlay:DIAGram:LABels
DISPlay:DIAGram:TITLe
DISPlay:DIAGram:STYLe
DISPlay:DIAGram:YFIXed
DISPlay:DIAGram:XFIXed
DISPlay:DIAGram:FINegrid
- Commands in total: 9Subgroups: 1Direct child commands: 8
- get_crosshair() bool[source]
# DISPlay:DIAGram:CROSshair value: bool = driver.display.diagram.get_crosshair()
If selected, a crosshair is displayed in the diagram area. A crosshair allows you to select a specific data point by its co-ordinates.
- Returns:
crosshair: OFF | ON
- get_fine_grid() bool[source]
# DISPlay:DIAGram:FINegrid value: bool = driver.display.diagram.get_fine_grid()
If ON, the crosshair is displayed as a ruler with scale markers. If OFF, the crosshair is shown as dashed lines.
- Returns:
show_fine_scale: OFF | ON
- get_grid() bool[source]
# DISPlay:DIAGram:GRID value: bool = driver.display.diagram.get_grid()
If enabled, a grid is displayed in the diagram area.
- Returns:
show: OFF | ON
- get_labels() bool[source]
# DISPlay:DIAGram:LABels value: bool = driver.display.diagram.get_labels()
If enabled, labels mark values on the x- and y-axes in specified intervals in the diagram.
- Returns:
show_labels: OFF | ON
- get_style() DiagramStyle[source]
# DISPlay:DIAGram:STYLe value: enums.DiagramStyle = driver.display.diagram.get_style()
Select the style in which the waveform is displayed.
- Returns:
style: VECTors | DOTS
VECTors: The individual data points are connected by a line.
DOTS: Only the individual data points are displayed.
- get_title() bool[source]
# DISPlay:DIAGram:TITLe value: bool = driver.display.diagram.get_title()
If enabled, the tab titles of all diagrams are displayed: Diagram1, Diagram2 … If disabled, the tab titles are not shown except for those in a tabbed diagram. In tabbed diagrams, the tab titles are required to change the tabs.
- Returns:
diag_title_st: OFF | ON
- get_xfixed() bool[source]
# DISPlay:DIAGram:XFIXed value: bool = driver.display.diagram.get_xfixed()
If enabled, the vertical grid lines remain in their position when the horizontal position is changed. Only the values at the grid lines are adapted.
- Returns:
xgrid_fixed: OFF | ON
- get_yfixed() bool[source]
# DISPlay:DIAGram:YFIXed value: bool = driver.display.diagram.get_yfixed()
If enabled, the horizontal grid lines remain in their position when the position of the curve is changed. Only the values at the grid lines are adapted. This reflects the behavior of traditional oscilloscopes.
- Returns:
ygrid_fixed: OFF | ON
- set_crosshair(crosshair: bool) None[source]
# DISPlay:DIAGram:CROSshair driver.display.diagram.set_crosshair(crosshair = False)
If selected, a crosshair is displayed in the diagram area. A crosshair allows you to select a specific data point by its co-ordinates.
- Parameters:
crosshair – OFF | ON
- set_fine_grid(show_fine_scale: bool) None[source]
# DISPlay:DIAGram:FINegrid driver.display.diagram.set_fine_grid(show_fine_scale = False)
If ON, the crosshair is displayed as a ruler with scale markers. If OFF, the crosshair is shown as dashed lines.
- Parameters:
show_fine_scale – OFF | ON
- set_grid(show: bool) None[source]
# DISPlay:DIAGram:GRID driver.display.diagram.set_grid(show = False)
If enabled, a grid is displayed in the diagram area.
- Parameters:
show – OFF | ON
- set_labels(show_labels: bool) None[source]
# DISPlay:DIAGram:LABels driver.display.diagram.set_labels(show_labels = False)
If enabled, labels mark values on the x- and y-axes in specified intervals in the diagram.
- Parameters:
show_labels – OFF | ON
- set_style(style: DiagramStyle) None[source]
# DISPlay:DIAGram:STYLe driver.display.diagram.set_style(style = enums.DiagramStyle.DOTS)
Select the style in which the waveform is displayed.
- Parameters:
style –
VECTors | DOTS
VECTors: The individual data points are connected by a line.
DOTS: Only the individual data points are displayed.
- set_title(diag_title_st: bool) None[source]
# DISPlay:DIAGram:TITLe driver.display.diagram.set_title(diag_title_st = False)
If enabled, the tab titles of all diagrams are displayed: Diagram1, Diagram2 … If disabled, the tab titles are not shown except for those in a tabbed diagram. In tabbed diagrams, the tab titles are required to change the tabs.
- Parameters:
diag_title_st – OFF | ON
- set_xfixed(xgrid_fixed: bool) None[source]
# DISPlay:DIAGram:XFIXed driver.display.diagram.set_xfixed(xgrid_fixed = False)
If enabled, the vertical grid lines remain in their position when the horizontal position is changed. Only the values at the grid lines are adapted.
- Parameters:
xgrid_fixed – OFF | ON
- set_yfixed(ygrid_fixed: bool) None[source]
# DISPlay:DIAGram:YFIXed driver.display.diagram.set_yfixed(ygrid_fixed = False)
If enabled, the horizontal grid lines remain in their position when the position of the curve is changed. Only the values at the grid lines are adapted. This reflects the behavior of traditional oscilloscopes.
- Parameters:
ygrid_fixed – OFF | ON
Cloning the Group
# Create a copy of the original group, that exists independently
diagram_copy = driver.display.diagram.clone()
Subgroups