MDO3000 Programmer Manual.pdf - 第488页

Commands Listed in A lphabetical Order Syntax *OPC *OPC? Related Commands BUSY? , *W AI Examples *OPC generates the operation complete message in the SESR at the completion of all pending OPC operations. *OPC? might retu…

100%1 / 1158
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
Commands Listed in Alphabetical Order
Group
Miscellaneous
Syntax
PASSWord <QString>
Related Commands
NEWpass, *PUD
Arguments
<QString> is the password and can include up to 10 characters. The factory
default password is “XYZZY” and is always valid.
Examples
PASSWORD“XYZZY” enables the *PUD and NEWpass set commands.
PASSWORD disables the *PUB and NEWpass set commands. You can still use the
query version of *PUD.
PAUSe (No Query Form)
This command causes the interface to pause the specified number of seconds
before processing any other commands.
Group
Miscellane
ous
Syntax
PAUSe < NR3>
Arguments
<NR3> is a floating-point number that represents the number of seconds the
interface should pause before processing any other commands. It must be greater
than 0.0 and less than or equal to 1800.0.
Examples
PAUSE 2 .0 causes the interface to pause for 2 seconds before processing any
other commands.
PICTBridge:DATEPrint
Enables or disables printing the date on the print output
Group
PictBridge
Syntax
PICTBridge:DATEPrint {DEFLT|OFF|ON}
PICTBridge:DATEPrint?
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-459