Technical data

Table Of Contents
282 Agilent Infiniium 9000 Series Oscilloscopes Programmer's Reference
15 Disk Commands
:DISK:LOAD
Command :DISK:LOAD "<file_name>"[,<destination>]
The :DISK:LOAD command restores a setup or a waveform from the disk.
The type of file is determined by the filename suffix if one is present, or
by the destination field if one is not present. You can load .WFM, .CSV,
.TSV, .TXT, .BIN, .H5, and .SET file types. The destination is only used
when loading a waveform memory.
<file_name> A quoted ASCII string with a maximum of 254 characters including the
entire path name, if used. You can use either .WFM, .CSV, .TSV, .TXT, .BIN,
.H5, or .SET as a suffix after the filename. If no file suffix is specified, the
default is .wfm.
The present working directory is assumed, or you can specify the entire
path. For example, you can load the standard setup file "SETUP0.SET"
using the command:
:DISK:LOAD "C:\Document and Settings\All Users\Shared Documents\
Infiniium\Setups\SETUP0.SET"
Or, you can use :DISK:CDIRectory to change the present working directory
to C:\Document and Settings\All Users\Shared Documents\Infiniium\
Setups, then just use the file name ("SETUP0.SET", for example). The
default path is C:\Document and Settings\All Users\Shared Documents\
Infiniium\Data.
<destination> WMEMory<N>.
Where <N> is an integer from 1- 4.
If a destination is not specified, waveform memory 1 is used.
Example This example restores the waveform in FILE1.WFM to waveform memory
1.
myScope.WriteString ":DISK:LOAD ""FILE1.WFM"",WMEM1"
CAUTION
Setups saved from Infiniium software versions prior to 2.00 may not load correctly in
software versions 4.30 and greater.
You can remedy this by re-saving any pre-2.00 setups using any version of software
from version 2.00 to version 4.20.
Setups saved from software versions between 2.00 and 4.20 should load correctly
into version 4.30 and greater.