MDO3000 Programmer Manual.pdf - 第57页
Command Groups T able 2-25: Eth ernet Commands Command Description ETHERnet:DHCPbootp This command speci fi es the network initialization search for a DHCP/BOO TP server ETHERnet:DNS:IP ADDress This command speci fi es the…

Command Groups
Table 2-23: DVM Commands (cont.)
Command
Description
DVM:MEASUrement:HIStory:
MINImum?
Returns the minimum readout value for the DVM function over the history period.
DVM:MEASUrement:INFMAXimum?
Returns the maximum DVM readout value over the entire time that the DVM has been on
since the last change using the DVM:MODe or DVM:SOUrce commands or
DVM RESET.
DVM:MEASUrement:INFMINimum? Returns the minimum readout value of the DVM function over the entire time that the D VM
has been on since the last change using the DVM:MODe or DVM:SOUrce commands or
DVM RESET.
DVM:MEASUrement:VALue? Returns the DVM readout value (the large displayed value at the top of the DVM screen).
DVM:MODe Specifies (or queries) the mode to use for the Digital Voltmeter (ACRMS, ACDCRMS, DC,
Frequency, or OFF).
DVM:SOUrce Sets (or queries) the source for the Digital Voltmeter: Channel 1 - 4.
Email Command Group
Use the email commands for both email printer support and Act on Event “send
an email” actions.
Different email systems require different information. See your system
administrator to determine which commands are necessary for your email system.
Table 2-24: EmailCommands
Command
Description
EMAIL:SETUp:FROMADDRess Sets (or queries) the sender’s email address for the common server setup information that is
shared between the Act on Event commands and the Hardcopy Email commands.
EMAIL:SETUp:HOSTALIASNAMe Sets (or queries) the email host alias name for the common server s etup information that is
shared between the Act on Event commands and the Hardcopy Email commands.
EMAIL:SETUp:SMTPLOGIn Sets or returns the email SMTP server login ID for the common server setup information that
is shared between the Act on Event commands and the Hardcopy Email commands.
EMAIL:SETUp:SMTPPASSWord Sets the email SMTP server login password for the common server setup information that is
shared between the Act on Event commands and the Hardcopy Email commands.
EMAIL:SETUp:SMTPPort Sets or returns the email SMTP server port number for the common server setup information
that is shared between the Act on Event commands and the Hardcopy Email commands
EMAIL:SETUp:SMTPServer Sets or returns the email SMTP server DNS name for the common server setup information
that is shared between the Act on Event co mmands and the Hardcopy Email commands.
Ethernet Command Group
Use the commands in the Ethernet Command Group to set up the 10BASE-T or
100BASE-TX Ethernet remote interface.
2-26 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

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