MDO3000 Programmer Manual.pdf - 第348页

Commands Listed in A lphabetical Order Group Save and Recall Syntax FACtory Related Commands *PSC , *RCL , RECAll:SETUp , *RST , *SA V , SA V e:SETUp Arguments None Examples FACTORY resets the oscilloscope to its factory…

100%1 / 1158
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
Commands Listed in Alphabetical Order
FILESystem:C
OPy (No Query Form)
This command copies a named file to a new file. The new file may be in a totally
separate directory than the old file. You can only copy one file at a time using this
command. Wil
d card characters are not allowed.
Group
File System
Syntax
FILESystem:COPy {<source QString>,< destination QString>}
Related Commands
FILESystem:CWD,
FILESystem:DELEte
Arguments
QString is a quoted string that defines the file name and path. If the file path is
within the current working directory, you need only specify the file name.
Examples
FILESYSTEM:COPY
E:/myTestData/tek00001.isf”,”I:/archive/tek00001.isf”
copies
the file named TEK00001.SET, located in the /myTestData/ directory on the E:
drive to a file named TEK00001.SET in the /archive/ directory on the I:
drive. Note that I: is a mounted drive.
FILESystem:CWD
This command specifies the current working directory (CWD) for FILESystem
commands. The default working directory is "E:/". Anytime you use this
command to change the directory, the directory that you specify is retainedasthe
current working directory until you either change the directory or you delete the
directory. If you delete the current working directory, the oscilloscope resets
current working directory to the default directory the next time the oscilloscope is
powered on or the next time you execute a file system command.
This command supports the permutations of file and directory names supported
by Microsoft Windows:
Relative path names; for example, "./Temp"
Absolute path names; for example, "E:/MyWaveform"
Implied relative path names; for example "newfile.txt" becomes
"E:/TekScope/newfile.txt" if the current working directory is "E:/TekScope"
Group
File System
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-319