Programming instructions
Downloading and Using Files
User File Data Downloads
Chapter 4176
Querying the Waveform Data Use the following SCPI command to query user file data
from binary memory:
:MEMory:DATA:BIT? "<file_name>"
The output format is the same as the input format.
Binary Memory Downloads
Binary memory requires data formatted in 8-bit bytes. Files stored or downloaded to binary
memory are converted to bit files prior to editing in the Bit File Editor. Afterward, these
modified files from binary memory are stored in bit memory as bit files.
Bit memory is the preferred for user file downloads.
SCPI Commands :MMEM:DATA "<file_name>", <datablock>
Send this command to download the user file data into the signal generator’s binary memory.
The variable <file_name> denotes the name that will be associated with the downloaded user
file stored in the signal generator.
Sample Command Line :MMEM:DATA "file_name", #ABC
file_name the name of the user file stored in the signal generator’s memory
#A the number of decimal digits to follow in B
B a decimal number specifying the number of data bytes in C
C the binary user file data
Example :MMEM:DATA "file_name", #1912S407897
file_name provides the user file name as it will appear in the signal generator’s binary
memory catalog
#1 defines the number of decimal digits to follow in “B”
9 denotes how many bytes of data are to follow
12S407897 the ASCII representation of the data that is downloaded to the signal
generator. This variable is represented by C in the sample command line
Querying the Waveform Data Use the following SCPI command line to query user file
data from binary memory:
:MMEM:DATA? "file_name"
The output format is the same as the input format.