Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 329
Creating and Downloading User–Data Files
User File Data (Bit/Binary) Downloads
The following figure shows the same downloaded data from the above example
as viewed in the signal generator’s bit file editor (see the
User’s Guide
for more
information) and with using an external hex editor program.
In the bit editor, notice that the ignored bit of the bit–data is not displayed,
however the hex value still shows all three bytes. This is because bits 1 through
7 are part of the first byte, which is shown as ASCII character x in the SCPI
command line. The view from the hex editor program confirms that the
downloaded three bytes of data remains unchanged. To view a downloaded bit
file with an external hex editor program, FTP the file to your PC/UNIX
workstation. For information on how to FTP a file, see
.
Even though the signal generator views the downloaded data on a bit basis, it
groups the data into bytes, and when the designated number of bits is not a
multiple of 8 bits, the last byte into one or more 4–bit nibbles. To make the last
nibble, the signal generator adds bits with a value of zero. The signal generator
does not show the added bits in the bit editor and ignores the added bits when
it modulates the data onto the signal, but these added bits do appear in the
hex value displayed in the bit file editor. The following example, which uses the
Hex values
Bit data
Designated number of bits
3 bytes of data
10 byte file header
(added by signal generator)
Designated number of bits (hex value = 23 decimal)
As Seen in a Hex Editor
:MEM:DATA:BIT "3byte",23,#13Z&x
SCPI command to download the data
As Seen in the Signal Generator’s Bit File Editor
Summary of Contents for X-Series
Page 4: ...4 ...
Page 10: ...10 Contents ...