MDO3000 Programmer Manual.pdf - 第59页
Command Groups T able 2-27: Hard Copy Commands (cont.) Command Description HARDCopy:PRINT er:LIST? Displays the l ist of currently de fi ned printers. HARDCopy:PRINT er:REName Renames a network or email printer on the lis…

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

Command Groups
Table 2-29: Horizontal Commands (cont.)
Command
Description
HORizontal:DIGital:SAMPLERate:
MAGnivu?
Returns the sample rate of the Magnivu digital acquisition
HORizontal:DIGital:SAMPLERate:
MAIn?
Returns the sample rate of the main digital acquisition
HORizontal:POSition This command specifies the horizontal position, in percent, that is used when delay is off
HORizontal:PREViewstate?
Returns the display system preview state
HORizontal:RECOrdlength This command specifies the record length.
HORizontal:SAMPLERate? Query to display the sample rate in seconds.
HORizontal:SCAle This command specifies the horizontal scale
Mark Command Group
Use the commands in the Mark Command Group to identify areas of the acquired
wave
form that warrant further investigation.
Table 2-30: Mark Commands
Command Description
MARK
Move to the next or previous mark on the w aveform or returns all learnable settings from
the mark commands
MARK:CREATE Creates a mark on a particular waveform or all waveforms in a column
MARK:DELEte
Deletes a mark on a particular waveform, all waveforms in a column, or all marks
MARK:FREE? Returns how many marks are free to be used
MARK:SAVEALL This command saves all current marks on waveforms in the time domain to an internal
memory location. (This is equivalent to pressing the “Save All Marks" button in the Search
button menu on the front panel.) In order to retrieve the information, use the query form of
MARK:USERLIST.
MARK:SELected:END? Returns the end of the selected mark, in terms of 0 to 100% of the waveform
MARK:SELected:FOCUS? Returns the focus of the selected mark, in terms of 0 to 100% of the waveform
MARK:SELected:
MARKSINCOLumn?
Returns how many marks are in the current zoom pixel column
MARK:SELected:OWNer? Returns the owner of the selected mark
MARK:SELected:SOURCe? Returns the source waveform of the selected mark
MARK:SELected:STARt? Returns the start of the selected mark, in terms of 0 to 100% of the waveform
MARK:SELected:STAT E? Returns the on or off state of the selected mark
MARK:SELected:ZOOm:POSition? Returns the position of the selected mark, in terms of 0 to 100% of the upper window
2-30 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual