Technical data

254 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
14 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"