MDO3000 Programmer Manual.pdf - 第357页
Commands Listed in Alphabetical Order Arguments QString is a quo ted string that specifies which network drive to un-mount. Examples FILES:UNMOUNT :DRIVE "I:" specifies to un-mount network drive I:. FILESystem:WR…

Commands Listed in Alphabetical Order
Arguments
<old fi le path>
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.
<new fi le path
>
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:RENAME "E:/TEK00000.SET","E:/MYSETTING.SET" gives the
file named TEK00000.SET the new name of MYSETTING.SET. The file remains
in the root directory on the D drive.
FILESystem:RMDir (No Query Form)
Deletes a named directory. This command deletes the specified directory andall
of its contents. The directory must not b
e a read-only directory.
Group
File System
Syntax
FILESystem:RMDir <directory path>
Related Commands
FILESystem:CWD
Arguments
<directory path> is a quoted string that defines the directory name and path.
If the file path is within the current working directory, you need only specify
the file name.
Examples
FILESYSTEM:RMDIR"E:/OldDirectory" removes the directory named
OldDirectory from the root of the D drive.
FILESystem:UNMOUNT:DRIve (No Query Form)
This command attempts to un-mount the network drive specified by the quoted
str
ing argument.
Group
File System
Syntax
FILESystem:UNMOUNT:DRIve QString
Related Commands
FILESystem:MOUNT:DRIve, FILESystem:MOUNT:LIST?
2-326 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
Arguments
QString is a quo
ted string that specifies which network drive to un-mount.
Examples
FILES:UNMOUNT:DRIVE "I:" specifies to un-mount network drive I:.
FILESystem:WRITEFile (No Query Form)
Writes the specified block data to a file in the oscilloscope current working
directory. If the specified file does not exist or is not readable, an appropriate
error event is posted.
Group
File System
Syntax
FILESystem:WRITEFile <file path>, <data>
Related Commands
FILESystem:CWD
Arguments
<file p ath> is the quoted string that defines the file name and path. If the path
is within the current working directory, specify the file name only.
<data> can be either DEFINITE LENGTH encoding or INDEFINITE LENGTH
ARBITRARY BLOCK PROGRAM DATA encoding as described in IEEE488.2.
FPAnel:HOLD (No Query Form)
This command is used to emulate the button push-and-hold feature. Presently,
only the Cursors button is supported by this command, even though any of the
button enumerations described for
FPAnel:PREss are accepted. (When the
Cursors button on the front panel is held, the cursor menu is displayed on screen.)
This command contains two arguments: a button, and an optional hold time.
Group
Miscellaneous
Syntax
FPAnel:HOLD CURsor [,<NR1>]
Related Commands
FPAnel:PRESS, FPAnel:TURN
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-327

Commands Listed in Alphabetical Order
Arguments
CURsor — curren
tly this is the only button supported by this command. If the
hold time is not specified, it defaults to 1200 milliseconds. The range is 0 to
10,000 milliseconds. The system expects a minimum of 1 second to recognize a
hold.
<NR1> (optional), an integer, is the hold time — ie. the time to emulate holding
the button down before releasing it, in milliseconds. If the hold time is not
specified, it defaults to 1200 milliseconds.
Examples
FPAnel:HOLD CURsor — This simulates pressing and holding the CURSOR
button for 1200 milliseconds.
FPAnel:PRESS (No Query Form)
Simulates the action of pressing a specified front-panel button.
When the front panel is locked, the front-panel button and multipurpose
knob operations are suspended. The
FPAnel:PRESS and the FPAnel:TURN
commands will also not work. You can work around this by using the appropriate
programmatic interface commands, instead of the front-panel commands.
Group
Miscellaneous
Syntax
FPAnel:PRESS <button>
Arguments
<button> is the name of a front-panel button. Most of the argument names
associate directly with their front panel buttons. For example, AUTOSet isfor
the Autoset button.
Table 2-54: FPAnel:PRESS arguments
Argument Description
ACQuire
Acquire button
AFG Arbitrary Function Generator button
AUTOset
Autoset button
BMENU<x>
Screen bottom menu buttons, where <x>=1
for the left-most bottom menu button and
<x>=7 for the right-most bottom menu button
B<x> Bus select buttons, where <x> = 1–4 or 1–2
depending on the model
CH<x> Channel select button, where <x>=1 for
channel 1, <x>=2 for channel 2, and so on
CURsor Cursors button
2-328 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual