Value

SCPI Command :

DISPlay:ANNotation:RECTangle<*>[:VALue]
Commands in total: 1
Subgroups: 0
Direct child commands: 1
class ValueStruct[source]

Response structure. Fields:

  • 1 Horizontal_Pos: float: 0 to 99

  • 2 Vertical_Pos: float: 0 to 99

  • 3 Width: float: 0 to 100

  • 4 Height: float: 0 to 100

get(annotation=Annotation.Default) ValueStruct[source]
# DISPlay:ANNotation:RECTangle<*>[:VALue]
value: ValueStruct = driver.display.annotation.rectangle.value.get(annotation = repcap.Annotation.Default)

Adds a new rectangle annotation, or replaces the annotation if it already exists. If no parameters are defined, the default values are used. All parameters are given in % of the screen.

Parameters:

annotation – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Annotation’)

Returns:

structure: for return value, see the help for ValueStruct structure arguments.

set(horizontal_pos: float = None, vertical_pos: float = None, width: float = None, height: float = None, annotation=Annotation.Default) None[source]
# DISPlay:ANNotation:RECTangle<*>[:VALue]
driver.display.annotation.rectangle.value.set(horizontal_pos = 1.0, vertical_pos = 1.0, width = 1.0, height = 1.0, annotation = repcap.Annotation.Default)

Adds a new rectangle annotation, or replaces the annotation if it already exists. If no parameters are defined, the default values are used. All parameters are given in % of the screen.

Parameters:
  • horizontal_pos – 0 to 99

  • vertical_pos – 0 to 99

  • width – 0 to 100

  • height – 0 to 100

  • annotation – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Annotation’)