Diagram

SCPI Commands :

DISPlay:DIAGram:CROSshair
DISPlay:DIAGram:GRID
DISPlay:DIAGram:LABels
DISPlay:DIAGram:STYLe
DISPlay:DIAGram:XFIXed
DISPlay:DIAGram:YFIXed
DISPlay:DIAGram:FINegrid
DISPlay:DIAGram:XPDivlabel
Commands in total: 8
Subgroups: 0
Direct 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 coordinates.

Returns:

crosshair: OFF | ON

get_fine_grid() bool[source]
# DISPlay:DIAGram:FINegrid
value: bool = driver.display.diagram.get_fine_grid()

If selected, the crosshair is displayed as a ruler with scale markers. If disabled, 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 selected, a grid is displayed in the diagram area. A grid helps you associate a specific data point to its exact value on the x- or y-axis.

Returns:

show: OFF | ON

get_labels() bool[source]
# DISPlay:DIAGram:LABels
value: bool = driver.display.diagram.get_labels()

If selected, 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()

Selects 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_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_xp_div_label() bool[source]
# DISPlay:DIAGram:XPDivlabel
value: bool = driver.display.diagram.get_xp_div_label()

If selected, the time scale value is shown at the diagram bottom instead of the horizontal grid labels. For example, 10 ns/div is shown instead of the values 0, 10, 20, 30… ns.

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. Fixed horizontal grid lines correspond to 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 coordinates.

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 selected, the crosshair is displayed as a ruler with scale markers. If disabled, 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 selected, a grid is displayed in the diagram area. A grid helps you associate a specific data point to its exact value on the x- or y-axis.

Parameters:

show – OFF | ON

set_labels(show_labels: bool) None[source]
# DISPlay:DIAGram:LABels
driver.display.diagram.set_labels(show_labels = False)

If selected, 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)

Selects 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_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_xp_div_label(shw_per_div_label_x: bool) None[source]
# DISPlay:DIAGram:XPDivlabel
driver.display.diagram.set_xp_div_label(shw_per_div_label_x = False)

If selected, the time scale value is shown at the diagram bottom instead of the horizontal grid labels. For example, 10 ns/div is shown instead of the values 0, 10, 20, 30… ns.

Parameters:

shw_per_div_label_x – 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. Fixed horizontal grid lines correspond to the behavior of traditional oscilloscopes.

Parameters:

ygrid_fixed – OFF | ON