MDO3000 Programmer Manual.pdf - 第346页
Commands Listed in A lphabetical Order EVENT? (Query Only) Returns an event code from the Event Queue that provides information about the results of the last *ESR? read. EVENT? also removes the returned value from the Ev…

Commands Listed in Alphabetical Order
ETHERnet:PIN
G:STATus? (Query Only)
Returns the results from sending the ETHERnet:PING command to ping the
gateway IP address.
Group
Ethernet
Syntax
ETHERnet:PING:STATus?
Returns
OK is returned if the computer at the gateway IP address answers.
NORESPOnsE is returned if the computer at the gateway IP address does not
answer.
INPROGRESS is returned if the ping operation is still executing.
NEVER is returned if ETHERne t:PING EXECute has not been previously
sent, indicating that no ping response has ever been received in response toan
ETHERnet:PING EXECute command since the instrument was powered on.
ETHERnet:SUBNETMask
This command specifies the remote interface subnet mask value.
Group
Ethernet
Syntax
ETHERnet:SUBNETMask <QString>
ETHERnet:SUBNETMask?
Related Commands
ETHERnet:NETWORKCONFig,
ETHERnet:IPADDress,
ETHERnet:GATEWay:IPADDress
Arguments
<QString> is the subnet mask value, enclosed in quotes.
Examples
ETHERNET:SUBNETMASK “255.255.255.0” sets the subnet mask value using
standard IP address notation format.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-315

Commands Listed in Alphabetical Order
EVENT? (Query
Only)
Returns an event code from the Event Queue that provides information about the
results of the last *ESR? read. EVENT? also removes the returned value from
the Event Que
ue.
Group
Status and Error
Syntax
EVENT?
Related Commands
ALLEv?, *CLS, DESE, *ESE, *ESR?, EVMsg?, *SRE, *STB?
Examples
EVENT? might return:EVENT 110, showing that there was an error in a command
header. (See page 3-13, Messages.)
EVMsg? (Query Only)
Removes a single event code from the Event Queue that is associated with the
results of the last *ESR? read and returns the event code along with an explanatory
message. For information, see Event Handling.
Group
Status and Error
Syntax
EVMsg?
Related Commands
ALLEv?
*CLS, DESE, *ESE, *ESR?, EVENT?, *SRE, *STB?
Returns
The event code and message in the following format:
<Event Code><Comma><QString>[<Event
Code><Comma><QString>..]<QString>::= <Message>;[<Command>] where
<Command> is the command that caused the error and may be returned when a
command error is detected by the oscilloscope. As much of the command will be
returned as possible without exceeding the 60 character limit of the <Message>
and <Command> string combined. The command string is right-justified.
Examples
EVMSG? might return:EVMSG 110,"Command header error".
2-316 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
EVQty? (Query
Only)
Returns the number of event codes in the Event Queue. This is useful when using
the ALLEv? query, which returns the exact number of events.
Group
Status and Error
Syntax
EVQty?
Related Commands
ALLEv?, EVENT?, EVMsg?
Examples
EVQTY? m
ight return
:EVQTY 3, indicating the number of event codes in the
Event Queue.
FACtory (No Query Form)
Resets the oscilloscope to its factory default settings.
This command does the following:
Clears the Event Status Enable Register
Clears the Service Request Enable Register
Sets the Device Event Status Enable Register to 255
Purges all defined aliases
Enables all Command Headers
Sets the macro defined by *DDT to a "zero-length field"
Clears the pending operation flag and associated operations
This command does not reset the following:
Communication settings
Selected GPIB address.
Sate of the VXI-11 (Ethernet IEEE Std 488.2) interface.
Calibration data that affects device specifications
Protected user data
Stored settings
Power On Status Clear Flag
Oscilloscope password
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-317