message
¶
The message commands module.
These commands are used in the following models: DPO2K, DPO2KB, DPO4K, DPO4KB, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO2K, MSO2KB, MSO4K, MSO4KB
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- MESSage
- MESSage:BOX <X1>,<Y1>[,<X2>,<Y2>]
- MESSage:BOX?
- MESSage:CLEAR
- MESSage:SHOW <QString>
- MESSage:SHOW?
- MESSage:STATE {ON|OFF|<NR1>}
- MESSage:STATE?
- MESSage?
Message
¶
Bases: SCPICmdWriteNoArguments, SCPICmdRead
The MESSage command.
Description
- This command sets or queries message box (screen annotation) parameters.
Usage
- Using the
.query()method will send theMESSage?query. - Using the
.verify(value)method will send theMESSage?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write()method will send theMESSagecommand.
SCPI Syntax
- MESSage
- MESSage?
Properties
.box: TheMESSage:BOXcommand..clear: TheMESSage:CLEARcommand..show: TheMESSage:SHOWcommand..state: TheMESSage:STATEcommand.
box
property
¶
box: MessageBox
Return the MESSage:BOX command.
Description
- This command specifies the co-ordinates of the message box. This command does not
display the message unless
MESSage:STATEis on. X1 and Y1 are the screen coordinates of the top left corner of the message box. X2 and Y2 are the screen coordinates of the bottom right corner of the message box. All four coordinates are returned by the query. Changing the text in the message box, using theMESSAGE:SHOWcommand, automatically resizes the message box. If you want a custom message box size, send theMESSAGE:BOXcommand after changing the text using theMESSAGE:SHOWcommand. Message box settings and data are saved and restored in saved setups.
Usage
- Using the
.query()method will send theMESSage:BOX?query. - Using the
.verify(value)method will send theMESSage:BOX?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMESSage:BOX valuecommand.
SCPI Syntax
- MESSage:BOX <X1>,<Y1>[,<X2>,<Y2>]
- MESSage:BOX?
Info
<X1>and= 0 to 1023, and are pixel positions along the horizontal axis. defines the left and defines the right side of the window. <Y1>and= 0 to 767, and are pixel positions along the vertical axis. defines the top and defines the bottom of the window. The reserved height of all characters is 16 pixels so the window must be at least that high to fully display characters. and are optional because the MESSAGE:SHOWcommand automatically sizes the box to fit the message. All four values are returned in a query.
clear
property
¶
clear: MessageClear
Return the MESSage:CLEAR command.
Description
- Clears the contents of the message box.
Usage
- Using the
.write()method will send theMESSage:CLEARcommand.
SCPI Syntax
- MESSage:CLEAR
show
property
¶
show: MessageShow
Return the MESSage:SHOW command.
Description
- This command specifies the contents of the message box.
MESSage:SHOWdefines the content of the message box. Change in string length causes automatic resize of the message box to fit the text. The box may be resized using the MESSAGE:BOXcommand. TheMESSAGE:STATEcommand is used to turn on and off the message box display.
Usage
- Using the
.query()method will send theMESSage:SHOW?query. - Using the
.verify(value)method will send theMESSage:SHOW?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMESSage:SHOW valuecommand.
SCPI Syntax
- MESSage:SHOW <QString>
- MESSage:SHOW?
Info
<QString>is the message and can include any of the characters shown in the Character Set.
state
property
¶
state: MessageState
Return the MESSage:STATE command.
Description
- Controls the display of the message box.
Usage
- Using the
.query()method will send theMESSage:STATE?query. - Using the
.verify(value)method will send theMESSage:STATE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMESSage:STATE valuecommand.
SCPI Syntax
- MESSage:STATE {ON|OFF|<NR1>}
- MESSage:STATE?
Info
OFF or <NR1> = 0removes the message window from the screen.ON or <NR1> ≠ 0displays the message window and its contents on the screen.
MessageBox
¶
Bases: SCPICmdWrite, SCPICmdRead
The MESSage:BOX command.
Description
- This command specifies the co-ordinates of the message box. This command does not display
the message unless
MESSage:STATEis on. X1 and Y1 are the screen coordinates of the top left corner of the message box. X2 and Y2 are the screen coordinates of the bottom right corner of the message box. All four coordinates are returned by the query. Changing the text in the message box, using theMESSAGE:SHOWcommand, automatically resizes the message box. If you want a custom message box size, send theMESSAGE:BOXcommand after changing the text using theMESSAGE:SHOWcommand. Message box settings and data are saved and restored in saved setups.
Usage
- Using the
.query()method will send theMESSage:BOX?query. - Using the
.verify(value)method will send theMESSage:BOX?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMESSage:BOX valuecommand.
SCPI Syntax
- MESSage:BOX <X1>,<Y1>[,<X2>,<Y2>]
- MESSage:BOX?
Info
<X1>and= 0 to 1023, and are pixel positions along the horizontal axis. defines the left and defines the right side of the window. <Y1>and= 0 to 767, and are pixel positions along the vertical axis. defines the top and defines the bottom of the window. The reserved height of all characters is 16 pixels so the window must be at least that high to fully display characters. and are optional because the MESSAGE:SHOWcommand automatically sizes the box to fit the message. All four values are returned in a query.
MessageClear
¶
Bases: SCPICmdWriteNoArguments
The MESSage:CLEAR command.
Description
- Clears the contents of the message box.
Usage
- Using the
.write()method will send theMESSage:CLEARcommand.
SCPI Syntax
- MESSage:CLEAR
MessageShow
¶
Bases: SCPICmdWrite, SCPICmdRead
The MESSage:SHOW command.
Description
- This command specifies the contents of the message box.
MESSage:SHOWdefines the content of the message box. Change in string length causes automatic resize of the message box to fit the text. The box may be resized using the MESSAGE:BOXcommand. TheMESSAGE:STATEcommand is used to turn on and off the message box display.
Usage
- Using the
.query()method will send theMESSage:SHOW?query. - Using the
.verify(value)method will send theMESSage:SHOW?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMESSage:SHOW valuecommand.
SCPI Syntax
- MESSage:SHOW <QString>
- MESSage:SHOW?
Info
<QString>is the message and can include any of the characters shown in the Character Set.
MessageState
¶
Bases: SCPICmdWrite, SCPICmdRead
The MESSage:STATE command.
Description
- Controls the display of the message box.
Usage
- Using the
.query()method will send theMESSage:STATE?query. - Using the
.verify(value)method will send theMESSage:STATE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMESSage:STATE valuecommand.
SCPI Syntax
- MESSage:STATE {ON|OFF|<NR1>}
- MESSage:STATE?
Info
OFF or <NR1> = 0removes the message window from the screen.ON or <NR1> ≠ 0displays the message window and its contents on the screen.