MDO3000 Programmer Manual.pdf - 第347页

Commands Listed in Alphabetical Order EVQty? (Query Only) Returns the number of event codes in the Event Queue. This is useful when usi ng the ALLEv? query , which returns the e xact number of events. Group Status and Er…

100%1 / 1158
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
Commands Listed in Alphabetical Order
Group
Save and Recall
Syntax
FACtory
Related Commands
*PSC, *RCL, RECAll:SETUp, *RST, *SAV, SAVe:SETUp
Arguments
None
Examples
FACTORY resets the oscilloscope to its factory default settings.
FILESystem? (Query Only)
Returns the directory listing of the current working directory and the number of
bytes of free space available. This query is the same as the FILESystem:DIR?
query and the FILESystem:FREESpace? query.
Group
File System
Syntax
FILESystem?
Related Commands
FILESystem:CWD,
FILESystem:DELEte,
FILESystem:DIR?,
FILESystem:REName
Arguments
None.
Examples
FILESYSTEM? might return
:FILESYSTEM:DIR
"tek00000.bmp","elusiveGlitch1.png","TEMP.TMP",
"file1.wfm","file2.wfm", "MATH1.wfm","
REF1.wfm","REF2.wfm";FREESPACE 30212096
2-318 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual