MDO3000 Programmer Manual.pdf - 第356页

Commands Listed in A lphabetical 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 dir ectory , you need only specify the file name.…

100%1 / 1158
Commands Listed in Alphabetical Order
Syntax
FILESystem:MO
UNT:LIST?
Related Commands
FILESystem:UNMOUNT:DRIve,
FILESystem:MOUNT:DRIve
Examples
FILESystem:MOUNT:LIST? might return
"X:;network.xyz.com;/net/users/mike/
home;NFS,:;winnet.xyz.com;\net
\users\fred\home;CIFS"
FILESystem:READFile (No Query Form)
Writes the contents of the specified file to the specified interface. If the specified
file does not exist or is not readable, an appropriate error event is posted.
Group
File System
Syntax
FILESystem:READFile <QString>
Related Commands
FILESystem:CWD
Arguments
<QString> is a quoted string that defines the file name and path. If the file path is
within the current working directory, specify only the file name.
Examples
FILESYSTEM:READFILE “E:/test_data/tek00016CH1.csv” reads the
content of the specified file, if the file exists and is readable, and sends the content
of the file to the current interface.
FILESystem:REName (No Query Form)
Assigns a new name to an existing file.
Group
File Sys
tem
Syntax
FILESystem:REName <old file path>,<new file path>
Related Commands
FILESystem:CWD
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-325
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