display
¶
The display commands module.
These commands are used in the following models: SMU2604B, SMU2614B, SMU2634B
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Attributes and Functions
- display.clear()
- display.getannunciators()
- display.getcursor()
- display.getlastkey()
- display.gettext()
- display.inputvalue()
- display.loadmenu.add()
- display.loadmenu.delete()
- display.locallockout
- display.menu()
- display.numpad
- display.prompt()
- display.screen
- display.sendkey()
- display.setcursor()
- display.settext()
- display.smuX.digits
- display.smuX.limit.func
- display.smuX.measure.func
- display.trigger.clear()
- display.trigger.overrun
- display.trigger.wait()
- display.waitkey()
Display
¶
Bases: BaseTSPCmd
The display command tree.
Constants
.ANNUNCIATOR_4_WIRE: 4W indicator on..ANNUNCIATOR_ARM: ARM indicator on..ANNUNCIATOR_AUTO: AUTO indicator on..ANNUNCIATOR_EDIT: EDIT indicator on..ANNUNCIATOR_ERROR: ERR indicator on..ANNUNCIATOR_FILTER: FILT indicator on..ANNUNCIATOR_LISTEN: LSTN indicator on..ANNUNCIATOR_MATH: MATH indicator on..ANNUNCIATOR_REAR: REAR indicator on..ANNUNCIATOR_REL: REL indicator on..ANNUNCIATOR_REMOTE: REM indicator on..ANNUNCIATOR_SAMPLE: SMPL indicator on..ANNUNCIATOR_SRQ: SRQ indicator on..ANNUNCIATOR_STAR: * (asterisk) indicator on..ANNUNCIATOR_TALK: TALK indicator on..ANNUNCIATOR_TRIGGER: TRIG indicator on..DIGITS_4_5: Set the front-panel display resolution to 4.5 digits..DIGITS_5_5: Set the front-panel display resolution to 5.5 digits..DIGITS_6_5: Set the front-panel display resolution to 6.5 digits..DISABLE: Disable the front-panel keys for numeric entry when entering a value..DONT_SAVE: Do not save code to nonvolatile memory..ENABLE: Enable the front-panel keys for numeric entry when entering a value..KEY_AUTO: Represents the range AUTO key..KEY_CONFIG: Represents the CONFIG key..KEY_DIGITSA: Represents the DIGITS (display resolution) key. For two-channel products, this is the DIGITS key for Channel A..KEY_DIGITSB: Represents the DIGITS (display resolution) key for Channel B..KEY_DISPLAY: Represents the DISPLAY key..KEY_ENTER: Represents the ENTER key..KEY_EXIT: Represents the EXIT key..KEY_FILTERA: Represents the FILTER key. For two-channel products, this is the FILTER key for Channel A..KEY_FILTERB: Represents the FILTER key for Channel B..KEY_LEFT: Represents the left CURSOR key..KEY_LIMITA: Represents the LIMIT key. For two-channel products, this is the LIMIT key for Channel A..KEY_LIMITB: Represents the LIMIT key. For two-channel products, this is the LIMIT key for Channel B..KEY_LOAD: Represents the LOAD (load test) key..KEY_MEASA: Represents the MEAS (Measure) key. For two-channel products, this is the MEAS key for Channel A..KEY_MEASB: Represents the MEAS (Measure) key for Channel B..KEY_MENU: Represents the MENU key..KEY_MODEA: Represents the MODE (meter mode) key For two-channel products, this is the MODE key for Channel A..KEY_MODEB: Represents the MODE (meter mode) key for Channel B..KEY_NONE: No key was pressed..KEY_OUTPUTA: Represents the OUTPUT ON/OFF key. For two-channel products, this is the OUTPUT ON/OFF key for Channel A..KEY_OUTPUTB: Represents the OUTPUT ON/OFF key. For two-channel products, this is the OUTPUT ON/OFF key for Channel B..KEY_RANGEDOWN: Represents the RANGE down key..KEY_RANGEUP: Represents the RANGE up key..KEY_RECALL: Represents the RECALL key..KEY_RELA: Represents the REL key. For two-channel products, this is the REL key for Channel A..KEY_RELB: Represents the REL key for Channel B..KEY_RIGHT: Represents the right CURSOR key..KEY_RUN: Represents the RUN key..KEY_SPEEDA: Represents the SPEED key. For two-channel products, this is the SPEED key for Channel A..KEY_SPEEDB: Represents the SPEED key. For two-channel products, this is the SPEED key for Channel B..KEY_SRCA: Represents the SRC (Source) key. For two-channel products, this is the SRC key for Channel A..KEY_SRCB: Represents the SRC (Source) key for Channel B..KEY_STORE: Represents the STORE key..KEY_TRIG: Represents the TRIG key..LIMIT_IV: Display the primary limit value..LIMIT_P: Display the power limit value..LOCK: Unlock the EXIT (LOCAL) key..MEASURE_DCAMPS: Display the current measurement function..MEASURE_DCVOLTS: Display the voltage measurement function..MEASURE_OHMS: Display the resistance measurement function..MEASURE_WATTS: Display the power measurement function..SAVE: Save code to nonvolatile memory..SMUA_SMUB: Displays source-measure screen for SMU A and SMU B..SMUB: Displays source-measure and compliance screen for SMU B..UNLOCK: Lock out the EXIT (LOCAL) key..WHEEL_ENTER: Represents pressing the navigation wheel..WHEEL_LEFT: Represents turning the Navigation wheel left..WHEEL_RIGHT: Represents turning the Navigation wheel right.
Properties and methods
.clear(): Thedisplay.clear()function..getannunciators(): Thedisplay.getannunciators()function..getcursor(): Thedisplay.getcursor()function..getlastkey(): Thedisplay.getlastkey()function..gettext(): Thedisplay.gettext()function..inputvalue(): Thedisplay.inputvalue()function..loadmenu: Thedisplay.loadmenucommand tree..locallockout: Thedisplay.locallockoutattribute..menu(): Thedisplay.menu()function..numpad: Thedisplay.numpadattribute..prompt(): Thedisplay.prompt()function..screen: Thedisplay.screenattribute..sendkey(): Thedisplay.sendkey()function..setcursor(): Thedisplay.setcursor()function..settext(): Thedisplay.settext()function..smu: Thedisplay.smuXcommand tree..trigger: Thedisplay.triggercommand tree..waitkey(): Thedisplay.waitkey()function.
ANNUNCIATOR_4_WIRE
class-attribute
instance-attribute
¶
ANNUNCIATOR_4_WIRE = 'display.ANNUNCIATOR_4_WIRE'
ANNUNCIATOR_ERROR
class-attribute
instance-attribute
¶
ANNUNCIATOR_ERROR = 'display.ANNUNCIATOR_ERROR'
ANNUNCIATOR_FILTER
class-attribute
instance-attribute
¶
ANNUNCIATOR_FILTER = 'display.ANNUNCIATOR_FILTER'
ANNUNCIATOR_LISTEN
class-attribute
instance-attribute
¶
ANNUNCIATOR_LISTEN = 'display.ANNUNCIATOR_LISTEN'
ANNUNCIATOR_REMOTE
class-attribute
instance-attribute
¶
ANNUNCIATOR_REMOTE = 'display.ANNUNCIATOR_REMOTE'
ANNUNCIATOR_SAMPLE
class-attribute
instance-attribute
¶
ANNUNCIATOR_SAMPLE = 'display.ANNUNCIATOR_SAMPLE'
ANNUNCIATOR_TRIGGER
class-attribute
instance-attribute
¶
ANNUNCIATOR_TRIGGER = 'display.ANNUNCIATOR_TRIGGER'
KEY_DIGITSA
class-attribute
instance-attribute
¶
KEY_DIGITSA = 'display.KEY_DIGITSA'
For two-channel products, this is the DIGITS key for Channel A.
KEY_FILTERA
class-attribute
instance-attribute
¶
KEY_FILTERA = 'display.KEY_FILTERA'
For two-channel products, this is the FILTER key for Channel A.
KEY_LIMITA
class-attribute
instance-attribute
¶
KEY_LIMITA = 'display.KEY_LIMITA'
For two-channel products, this is the LIMIT key for Channel A.
KEY_LIMITB
class-attribute
instance-attribute
¶
KEY_LIMITB = 'display.KEY_LIMITB'
For two-channel products, this is the LIMIT key for Channel B.
KEY_MEASA
class-attribute
instance-attribute
¶
KEY_MEASA = 'display.KEY_MEASA'
For two-channel products, this is the MEAS key for Channel A.
KEY_MODEA
class-attribute
instance-attribute
¶
KEY_MODEA = 'display.KEY_MODEA'
For two-channel products, this is the MODE key for Channel A.
KEY_OUTPUTA
class-attribute
instance-attribute
¶
KEY_OUTPUTA = 'display.KEY_OUTPUTA'
For two-channel products, this is the OUTPUT ON/OFF key for Channel A.
KEY_OUTPUTB
class-attribute
instance-attribute
¶
KEY_OUTPUTB = 'display.KEY_OUTPUTB'
For two-channel products, this is the OUTPUT ON/OFF key for Channel B.
KEY_RELA
class-attribute
instance-attribute
¶
KEY_RELA = 'display.KEY_RELA'
For two-channel products, this is the REL key for Channel A.
KEY_SPEEDA
class-attribute
instance-attribute
¶
KEY_SPEEDA = 'display.KEY_SPEEDA'
For two-channel products, this is the SPEED key for Channel A.
KEY_SPEEDB
class-attribute
instance-attribute
¶
KEY_SPEEDB = 'display.KEY_SPEEDB'
For two-channel products, this is the SPEED key for Channel B.
KEY_SRCA
class-attribute
instance-attribute
¶
KEY_SRCA = 'display.KEY_SRCA'
For two-channel products, this is the SRC key for Channel A.
loadmenu
property
¶
loadmenu: DisplayLoadmenu
Return the display.loadmenu command tree.
Sub-properties and sub-methods
.add(): Thedisplay.loadmenu.add()function..delete(): Thedisplay.loadmenu.delete()function.
locallockout
property
writable
¶
locallockout: str
Access the display.locallockout attribute.
Description
- This attribute describes whether or not the EXIT (LOCAL) key on the instrument front panel is enabled.
Usage
- Accessing this property will send the
print(display.locallockout)query. - Setting this property to a value will send the
display.locallockout = valuecommand.
TSP Syntax
- display.locallockout = value
- print(display.locallockout)
Info
lockout, the 0 or display.UNLOCK: Unlocks EXIT (LOCAL) key 1 or display.LOCK: Locks out EXIT (LOCAL) key.
| Raises: |
|
|---|
numpad
property
writable
¶
numpad: str
Access the display.numpad attribute.
Description
- This attribute controls whether the front panel keys act as a numeric keypad during value entry.
Usage
- Accessing this property will send the
print(display.numpad)query. - Setting this property to a value will send the
display.numpad = valuecommand.
TSP Syntax
- display.numpad = value
- print(display.numpad)
| Raises: |
|
|---|
screen
property
writable
¶
screen: str
Access the display.screen attribute.
Description
- This attribute contains the selected display screen.
Usage
- Accessing this property will send the
print(display.screen)query. - Setting this property to a value will send the
display.screen = valuecommand.
TSP Syntax
- display.screen = value
- print(display.screen)
| Raises: |
|
|---|
smu
property
¶
smu: dict[str, DisplaySmuxItem]
Return the display.smuX command tree.
Info
X, the source-measure unit (SMU) channel (for example, display.smua.digits applies to SMU channel A).
Sub-properties and sub-methods
.digits: Thedisplay.smuX.digitsattribute..limit: Thedisplay.smuX.limitcommand tree..measure: Thedisplay.smuX.measurecommand tree.
trigger
property
¶
trigger: DisplayTrigger
Return the display.trigger command tree.
Constants
.EVENT_ID: The event ID of the event generated when the front-panel TRIG key is pressed.
Sub-properties and sub-methods
.clear(): Thedisplay.trigger.clear()function..overrun: Thedisplay.trigger.overrunattribute..wait(): Thedisplay.trigger.wait()function.
clear
¶
clear() -> None
Run the display.clear() function.
Description
- This function clears all lines of the front-panel display.
TSP Syntax
- display.clear()
| Raises: |
|
|---|
getannunciators
¶
getannunciators() -> str
Run the display.getannunciators() function.
Description
- This function reads the annunciators (indicators) that are presently turned on.
TSP Syntax
- display.getannunciators()
| Returns: |
|
|---|
| Raises: |
|
|---|
getcursor
¶
getcursor() -> str
Run the display.getcursor() function.
Description
- This function reads the present position of the cursor on the front-panel display.
TSP Syntax
- display.getcursor()
| Returns: |
|
|---|
| Raises: |
|
|---|
getlastkey
¶
getlastkey() -> str
Run the display.getlastkey() function.
Description
- This function retrieves the key code for the last pressed key.
TSP Syntax
- display.getlastkey()
| Returns: |
|
|---|
| Raises: |
|
|---|
gettext
¶
gettext(
embellished: str | None = None,
row: str | None = None,
column_start: str | None = None,
column_end: int | None = None,
) -> str
Run the display.gettext() function.
Description
- This function reads the text displayed on the front panel.
TSP Syntax
- display.gettext()
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
inputvalue
¶
inputvalue(
format_: str, default: str | None = None, minimum: str | None = None, maximum: str | None = None
) -> None
Run the display.inputvalue() function.
Description
- This function displays a formatted input field on the front-panel display that the operator can edit.
TSP Syntax
- display.inputvalue()
| Parameters: |
|
|---|
| Raises: |
|
|---|
menu
¶
Run the display.menu() function.
Description
- This function presents a menu on the front-panel display.
TSP Syntax
- display.menu()
| Parameters: |
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
prompt
¶
prompt(
format_: str,
units: str,
help_: str,
default: str | None = None,
minimum: str | None = None,
maximum: str | None = None,
) -> None
Run the display.prompt() function.
Description
- This function prompts the user to enter a parameter from the front panel of the instrument.
TSP Syntax
- display.prompt()
| Parameters: |
|
|---|
| Raises: |
|
|---|
sendkey
¶
sendkey(key_code: str) -> None
Run the display.sendkey() function.
Description
- This function sends a code that simulates the action of a front-panel control.
TSP Syntax
- display.sendkey()
| Parameters: |
|
|---|
| Raises: |
|
|---|
setcursor
¶
Run the display.setcursor() function.
Description
- This function sets the position of the cursor.
TSP Syntax
- display.setcursor()
| Parameters: |
|---|
| Raises: |
|
|---|
settext
¶
settext(text: str) -> None
Run the display.settext() function.
Description
- This function displays text on the front-panel user screen.
TSP Syntax
- display.settext()
| Parameters: |
|
|---|
| Raises: |
|
|---|
waitkey
¶
waitkey() -> str
Run the display.waitkey() function.
Description
- This function captures the key code value for the next front-panel action.
TSP Syntax
- display.waitkey()
| Returns: |
|
|---|
| Raises: |
|
|---|
DisplayLoadmenu
¶
Bases: BaseTSPCmd
The display.loadmenu command tree.
Properties and methods
.add(): Thedisplay.loadmenu.add()function..delete(): Thedisplay.loadmenu.delete()function.
add
¶
Run the display.loadmenu.add() function.
Description
- This function adds an entry to the USER menu, which can be accessed by pressing the LOAD key on the front panel.
TSP Syntax
- display.loadmenu.add()
| Parameters: |
|---|
| Raises: |
|
|---|
delete
¶
delete(display_name: str) -> None
Run the display.loadmenu.delete() function.
Description
- This function removes an entry from the USER menu, which can be accessed using the LOAD key on the front panel.
TSP Syntax
- display.loadmenu.delete()
| Parameters: |
|
|---|
| Raises: |
|
|---|
DisplaySmuxItem
¶
Bases: ValidatedChannel, BaseTSPCmd
The display.smuX command tree.
Info
X, the source-measure unit (SMU) channel (for example, display.smua.digits applies to SMU channel A).
Properties and methods
.digits: Thedisplay.smuX.digitsattribute..limit: Thedisplay.smuX.limitcommand tree..measure: Thedisplay.smuX.measurecommand tree.
digits
property
writable
¶
digits: str
Access the display.smuX.digits attribute.
Description
- This attribute sets the front-panel display resolution of the selected measurement.
Usage
- Accessing this property will send the
print(display.smuX.digits)query. - Setting this property to a value will send the
display.smuX.digits = valuecommand.
TSP Syntax
- display.smuX.digits = value
- print(display.smuX.digits)
Info
X, the source-measure unit (SMU) channel (for example, display.smua.digits applies to SMU channel A).
| Raises: |
|
|---|
limit
property
¶
limit: DisplaySmuxItemLimit
Return the display.smuX.limit command tree.
Info
X, the source-measure unit (SMU) channel (for example, display.smua.limit.func applies to SMU channel A).
Sub-properties and sub-methods
.func: Thedisplay.smuX.limit.funcattribute.
measure
property
¶
measure: DisplaySmuxItemMeasure
Return the display.smuX.measure command tree.
Info
X, the source-measure unit (SMU) channel (for example, display.smua.measure.func applies to SMU channel A).
Sub-properties and sub-methods
.func: Thedisplay.smuX.measure.funcattribute.
DisplaySmuxItemLimit
¶
Bases: BaseTSPCmd
The display.smuX.limit command tree.
Info
X, the source-measure unit (SMU) channel (for example, display.smua.limit.func applies to SMU channel A).
Properties and methods
.func: Thedisplay.smuX.limit.funcattribute.
func
property
writable
¶
func: str
Access the display.smuX.limit.func attribute.
Description
- If you are using a display mode that shows a single channel, this attribute specifies the type of limit value setting displayed.
Usage
- Accessing this property will send the
print(display.smuX.limit.func)query. - Setting this property to a value will send the
display.smuX.limit.func = valuecommand.
TSP Syntax
- display.smuX.limit.func = value
- print(display.smuX.limit.func)
Info
X, the source-measure unit (SMU) channel (for example, display.smua.limit.func applies to SMU channel A).
| Raises: |
|
|---|
DisplaySmuxItemMeasure
¶
Bases: BaseTSPCmd
The display.smuX.measure command tree.
Info
X, the source-measure unit (SMU) channel (for example, display.smua.measure.func applies to SMU channel A).
Properties and methods
.func: Thedisplay.smuX.measure.funcattribute.
func
property
writable
¶
func: str
Access the display.smuX.measure.func attribute.
Description
- This attribute specifies the type of measurement that is being displayed.
Usage
- Accessing this property will send the
print(display.smuX.measure.func)query. - Setting this property to a value will send the
display.smuX.measure.func = valuecommand.
TSP Syntax
- display.smuX.measure.func = value
- print(display.smuX.measure.func)
Info
X, the source-measure unit (SMU) channel (for example, display.smua.measure.func applies to SMU channel A).
| Raises: |
|
|---|
DisplayTrigger
¶
Bases: BaseTSPCmd
The display.trigger command tree.
Constants
.EVENT_ID: The event ID of the event generated when the front-panel TRIG key is pressed.
Properties and methods
.clear(): Thedisplay.trigger.clear()function..overrun: Thedisplay.trigger.overrunattribute..wait(): Thedisplay.trigger.wait()function.
overrun
property
¶
overrun: str
Access the display.trigger.overrun attribute.
Description
- This attribute contains the event detector overrun status.
Usage
- Accessing this property will send the
print(display.trigger.overrun)query.
TSP Syntax
- print(display.trigger.overrun)
| Raises: |
|
|---|
clear
¶
clear() -> None
Run the display.trigger.clear() function.
Description
- This function clears the front-panel trigger event detector.
TSP Syntax
- display.trigger.clear()
| Raises: |
|
|---|
wait
¶
Run the display.trigger.wait() function.
Description
- This function waits for the TRIG key on the front panel to be pressed.
TSP Syntax
- display.trigger.wait()
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|