MDO3000 Programmer Manual.pdf - 第487页

Commands Listed in Alphabetical Order Arguments OFF or <NR1> = 0 r emoves the message windo w from the scree n. ON or <NR1> ≠ 0 displays the message window and its contents on the screen. NEWpass (No Query Fo…

100%1 / 1158
Commands Listed in Alphabetical Order
Another way to e
nter characters is \xnn where the nn is the hexadecimal value of
the character to display.
An advantage o
f these methods is that any controller program can be used.
Another advantage is it’s easy to access characters with the high bit set, that is,
those characters with a decimal value greater than 127.
An alternate way to enter certain characters is with a backslash followed bya
single character (following “standard” Unix) as described in the table below.
n
Newline (c
arriage return and line feed)
\ Backslash
(\\ is required to get a backslash character)
t
Horizont
al tab; the next 2 characters specify the pixel column to tab to
as explained earlier
If a backslash is followed by an undefined special character, the backslash is
ignored and the character following it is accepted as is.
NOTE. The use of any escape codes other than those described above may
produc
e unpredictable results.
Examples
MESSage:SHOW “Hello World”
displays “Hello world” in the upper left corner of the box (you can define the box
size
with the MESSAGE BOX command).
MESSage:SHOW @Hello World@ .. hello”
dis
plays “Hello world .. hello” in the upper left corner of the box and the word
“world” is displayed in inverse video. In this example, stands for the escape
character. The escape character may appear differently for you depending on
your controller program.
MESSage:STATE
Controls the display of the message box.
Group
Display
Syntax
MESSage:STATE {OFF|ON| <NR1>}
MESSage:STATE?
Related Commands
MESSage:BOX
MESSage:SHOW, MESSage:CLEAR
2-456 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Commands Listed in Alphabetical Order
Arguments
OFF or <NR1> = 0 r
emoves the message window from the screen.
ON or <NR1> 0 displays the message window and its contents on the screen.
NEWpass (No Query Form)
This command changes the password that enables access to password protected
data. The PASSWord command must be successfully executed before using this
command or an execution error will be generated.
Group
Miscellaneous
Syntax
NEWpass <QString>
Related Commands
*PUD
PASSWord
Arguments
<QString> is the new password, which can contain up to 16 characters.
Examples
NEWPASS "mypassword" creates a new password (mypassword) for accessing
your protected data.
*OPC
Generates the Operation Complete message in the Standard Event Status Register
(SESR) when all pending commands that generate an OPC message are complete.
The *OPC command allows you to synchronize the operation of the oscilloscope
with your application program. Examples of this commands usage are
available(See page 3-7, Synchronization Methods.) The *OPC? query places
the ASCII character "1" into the output queue when all such OPC commands
are complete.
The *OPC? response is not available to read until all pending operations finish.
(See page 3-978, Status and Events.)
Certain oscilloscope operations can affect the
*OPC response. (See Table 3-3
on page 3-8.)
Group
Status and Error
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-457
Commands Listed in Alphabetical Order
Syntax
*OPC
*OPC?
Related Commands
BUSY?, *WAI
Examples
*OPC generates the operation complete message in the SESR at the completion of
all pending OPC operations.
*OPC? might return 1 to indicate that all pending OPC operations are finished.
*OPT? (Query Only)
Returns a comma-separated list of installed options (not to be confused with
application modules) as an arbitrary ASCII string (no quotes) of the form:
<optionCode>:<optionDescription>,<optionCode>:<optionDescription>..
If no options are found,
NONE is returned.
To obtain a list of installed application modules, use the ID? query instead.
Conditions
Available for MDO3000 and MDO4000C series models only.
Group
Status and Error
Syntax
*OPT?
Examples
*OPT? might return DVM:Digital Voltmeter,AFG:Arbitrary Function
Generator,MSO:Mixed Signal Oscillo scope,SA:Spectrum analyzer
maximum input frequency,MDO3SEC:Se curity lockout”
PASSWord(No Query Form)
Enables the *PUD and NEWpass set commands. Sending PASSWord without any
arguments disables these same commands. Once the password is successfully
entered, the *PUD and NEWpass commands are enabled until the oscilloscope
is powered off, or until the FACtory command or the PASSWord command with
no arguments is issued.
To change the password, you must first enter the valid password with the
PASSWord command and then change to your new password with the NEWpass
command. Remember that the password is case sensitive.
2-458 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual