Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 227
Creating and Downloading Waveform Files
Commands for Downloading and Extracting Waveform Data
SCPI Command Line Structure
The signal generator expects to see waveform data as block data (binary files).
The IEEE standard 488.2–1992 section 7.7.6 defines block data. The following
example shows how to structure a SCPI command for downloading waveform
data (
#ABC
represents the block data):
:MMEM:DATA "<file_name>",#ABC
"
<file_name>
" the I/Q file name and file path within the signal
generator
#
indicates the start of the data block
A
the number of decimal digits present in B
B
a decimal number specifying the number of data bytes
to follow in C
C
the actual binary waveform data
The following example demonstrates this structure:
WFM1:
the file path
my_file
the I/Q file name as it will appear in the signal
generator’s memory catalog
#
indicates the start of the data block
3
B has three decimal digits
240
240 bytes of data to follow in C
12%S!4&07#8g*Y9@7...
the ASCII representation of some of the
binary data downloaded to the signal generator,
however not all ASCII values are printable
Commands and File Paths for Downloading and Extracting Waveform
Data
You can download or extract waveform data using the commands and file
paths in the following tables:
—
Table 5-5, “Downloading Unencrypted Files for No Extraction,” on
—
Table 5-6, “Downloading Encrypted Files for No Extraction,” on page 228
—
Table 5-7, “Downloading Unencrypted Files for Extraction,” on page 228
file_name
A
C
MMEM:DATA “WFM1:my_file”,#3 240 12%S!4&07#8g*Y9@7...
B
Filenames should not exceed 23 characters.
Summary of Contents for X-Series
Page 4: ...4 ...
Page 10: ...10 Contents ...