MDO3000 Programmer Manual.pdf - 第58页
Command Groups T able 2-26: Fil e System Commands Command Description FILESystem? Returns the fi le system state FILESystem:COPy This command copies a named fi le to a new fi le. FILESystem:CWD This command speci fi es the c…

Command Groups
Table 2-25: Eth
ernet Commands
Command
Description
ETHERnet:DHCPbootp This command specifies the network initialization search for a DHCP/BOO TP server
ETHERnet:DNS:IPADDress This command specifies the network Domain Name Server (Dns) IP address
ETHERnet:DOMAINname This command specifies the network domain name
ETHERnet:ENET:ADDress?
Returns the
Ethernet address value assigned to the oscilloscope
ETHERnet:GATEWay:IPADDress This command specifies the remote interface gateway IP address
ETHERnet:
HTTPPort
This command specifies the remote interface HTTP port value
ETHERnet
:IPADDress
This command specifies the IP address assigned to the oscilloscope
ETHERne
t:NAME
This command speci fies the network name assigned to the oscilloscope
ETHERnet:PASSWord This command specifies the Ethernet access password
ETHERnet:PING Causes the oscilloscope to ping the gateway IP address
ETHERnet:PING:STATus? Returns the results from pinging the gateway IP address
ETHERnet:SUBNETMask This command specifies the remote interface subnet mask value
File System Command Group
Use the commands in the File System Command Group to help you use USB
media. You can use the commands to do the following:
List the contents of a directory
Create and delete directories
Create, read, rename, or delete a file
Format media
When using these commands, keep the following points in mind:
File arguments are always enclosed within double quotes:
"E:/MYDIR/TEK00001.SET"
File names follow the non-case sensitive, MSDOS format:
[DRIVE:][\PATH\]filename
Path separators may be either forwardslashes(/)orbackslashes(\)
NOTE. Using back slash as a path separator may produce some unexpected
results, depending on h
ow your application treats escaped characters. Many
applications recognize the sequence of back slash followed by an alphabetic
character as an e scaped character, a nd, as such, interpret that alphabetic
character as a control character. For example, the sequence "\n" may be
interpreted as a newline character; "\t" may be interpreted as a tab character. To
ensure that this interpretation does not occur, you can use double back slashes.
For example, "E:\\t
estfile.txt".
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-27

Command Groups
Table 2-26: Fil
e System Commands
Command
Description
FILESystem? Returns the file system state
FILESystem:COPy This command copies a named file to a new file.
FILESystem:CWD This command speci fies the current working directory for FILESystem commands
FILESystem:DELEte Deletes a named file or directory
FILESystem:DIR? Returns a list o f d irectory contents
FILESystem:FORMat
Formats a n
amed drive
FILESystem:FREESpace? Returns the number of bytes of free space on the current drive
FILESystem:LDIR? Returns a semicolon separated list of every file and directory in a folder.
FILESystem:MKDir Creates a new directory
FILESystem:MOUNT:AVAILable? This query returns a comma-separated list of available drive letters that can be used for
mounting network drives.
FILESystem:MOUNT:DRIve This command attempts to mount the network drive specified by the quoted string argument.
FILESystem:MOUNT:LIST? This query returns a comma-separated list of the mounted network drives, including the
driv
e letter, server identity (DNS name or IP address), mount path and type. If no network
drives are m ounted, an empty string is returned.
FILESystem:READFile Writes the contents of the specified file to the specified interface
FILESystem:REName A ssigns a new name to an existing file
FILESystem:RMDir
Del
etes a named directory
FILESystem:UNMOUNT:DRIve This command attempts to un-mount the network drive specified by the quoted string
argument.
FILESystem:WRITEFile Writes the specified block data to the oscilloscope current working directory
Hard Copy Command Group
Use the commands in the Hard Copy Command Group to make hard copies.
PictBridge commands belong to a separate group. (See page 2-40, PictBridge
Command Group.)
Table 2-27: Hard Copy Commands
Command
Description
HARDCopy Sends a copy of the screen display to the selected printer
HARDCopy:ACTIVeprinter This command specifies the currently active printer
HARDCopy:INKSaver Changes hard copy output to print color traces and graticule on a white background
HARDCopy:LAYout This command specifies the page orientation for hard copy
HARDCopy:PREVIEW Previews the current screen contents with the InkSaver palette applied
HARDCopy:PRINTer:ADD This command is used to add a network or email printer to the list of available printers.
HARDCopy:PRINTer:DELete Removes a network printer from the list of available printers
2-28 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Command Groups
Table 2-27: Hard Copy Commands (cont.)
Command
Description
HARDCopy:PRINTer:LIST? Displays the l ist of currently defined printers.
HARDCopy:PRINTer:REName Renames a network or email printer on the list of available printers, replacing the currently
stored settings with the settings specified in the command.
Histogram Command Group
Use the commands in the Histogram Command Group to set up a histogram for
measurements.
Table 2-28: Histogram Commands
Command
Description
HIStogram?
Returns all histogram parameters
HIStogram:BOX This command specifies the histogram box coordinates
HIStogram:BOXPcnt Specifies the histogram box coordinates in terms of percentages of the full screen extents
of the source waveform.
HIStogram:COUNt Clears the histogram count and statistics
HIStogram:DATa?
Returns the histogram data
HIStogram:DISplay This command specifies the scaling of the histogram display
HIStogram:END? Returns the time of the last bin of the histogram
HIStogram:MODe This command speci fies the type of the histogram, v ertical or horizontal
HIStogram:SOUrce Sets or queries the source used to create the histogram
HIStogram:STARt? Returns the time of the first bin of the histogram
Horizontal Command Group
Use the commands in the Horizontal Command Group to control the oscilloscope
horizontal parameters.
Table 2-29: Horizontal Commands
Command
Description
HORizontal? Returns settings for the horizontal commands
HORizontal:DELay:MODe This command specifies the horizontal delay mode
HORizontal:DELay:TIMe This command specifies the horizontal delay time
HORizontal:DIGital:RECOrdlength:
MAGnivu?
Returns the record length of the MagniVu digital acquisition
HORizontal:DIGital:RECOrdlength:
MAIn?
Returns the record length of the main digital acquis
ition.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-29