156 Chapter 4
Downloading and Using Files
Downloading ARB Waveform Data
Example 2
:MMEM:DATA "WFM1:file_name", #212125407897ABC
file_name the file name to appear in the signal generator’s waveform memory catalog.
#2 2 decimal digits will be used to define the number of data bytes.
12 12 bytes of data will follow.
125407897ABC the ASCII representation of the data downloaded to the signal generator.
NOTE This example has too few samples to be used, and is shown only to illustrate the form.
Typically, you cannot read/type the sample values, as they are frequently unprintable.
Downloads to WFM1
NOTE Before downloading files into waveform memory, turn off the ARB
(Mode > Dual ARB > ARB Off On, or send [:SOURce]:RADio:ARB[:STATe] OFF).
waveform file: MMEM:DATA "WFM1:<file_name>",#ABC
markers file: MMEM:DATA "MKR1:<file_name>",#ABC
The full directory path name can be specified in the command line. The following SCPI commands are
equivalent to the previous commands:
waveform file: MMEM:DATA "/USER/BBG1/WAVEFORM/<file_name>",#ABC
markers file: MMEM:DATA "/USER/BBG1/MARKERS/<file_name>",#ABC
Downloads to NVWFM
Using the GPIB or LAN interface
Use the following SCPI commands:
waveform file: MMEM:DATA "NVWFM:<file_name>",#ABC
markers file: MMEM:DATA "NVMKR:<file_name>",#ABC
The full directory path name can be specified in the command line. The following SCPI commands are
equivalent to the previous commands:
waveform file: MMEM:DATA "/USER/WAVEFORM/<file_name>",#ABC
markers file: MMEM:DATA "/USER/MARKERS/<file_name>",#ABC