Function

SCPI Command :

CURSor<*>:FUNCtion
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(cursor=Cursor.Default) CursorType[source]
# CURSor<*>:FUNCtion
value: enums.CursorType = driver.cursor.function.get(cursor = repcap.Cursor.Default)

Defines the cursor type to be used for the measurement.

Parameters:

cursor – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Cursor’)

Returns:

type_py: VERTical | HORizontal | PAIRed

  • HORizontal: A pair of horizontal cursor lines. Not available for measurements on multiple sources.

  • VERTical: A pair of vertical cursor lines. Not available for measurements on multiple sources.

  • PAIRed: Both vertical and horizontal cursor line pairs.

set(type_py: CursorType, cursor=Cursor.Default) None[source]
# CURSor<*>:FUNCtion
driver.cursor.function.set(type_py = enums.CursorType.HORizontal, cursor = repcap.Cursor.Default)

Defines the cursor type to be used for the measurement.

Parameters:
  • type_py

    VERTical | HORizontal | PAIRed

    • HORizontal: A pair of horizontal cursor lines. Not available for measurements on multiple sources.

    • VERTical: A pair of vertical cursor lines. Not available for measurements on multiple sources.

    • PAIRed: Both vertical and horizontal cursor line pairs.

  • cursor – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Cursor’)