Keysight Technologies X-Series Programming Manual page 330

Signal generators
Hide thumbs Also See for X-Series:
Table of Contents

Advertisement

Creating and Downloading User–Data Files
User File Data (Bit/Binary) Downloads
same three bytes of data, further demonstrates how the signal generator
displays the data when only two bits of the last byte are part of the bits of
interest.
SCPI command to download the data
Downloaded Data:
0 1 0 1 1 0 1 0 0 0 1 0 0 1 1 0 0 1 1 1 1 0 0 0
MSB
Byte 1
Hex Value:
5A
As Seen in the Signal Generator's Bit File Editor
As Seen in a Hex Editor
10 byte file header
(added by signal generator)
Notice that the bit file editor shows only two bytes and one nibble. In addition,
the signal generator shows the nibble as hex value 4 instead of 7 (78 is byte 3—
ASCII character x in the SCPI command line). This is because the signal
generator sees bits 17 and 18, and assumes bits 19 and 20 are 00. As viewed
by the signal generator, this makes the nibble 0100. Even though the signal
generator extrapolates bits 19 and 20 to complete the nibble, it ignores these
bits along with bits 21 through 24. As seen with the hex editor program, the
signal generator does not actually change the three bytes of data in the
downloaded file.
For information on editing a file after downloading, see
Data" on page
330
:MEM:DATA:BIT "3byte",18,#13Z&x
Designated 18 bits
Byte 2
Byte 3
26
Designated number of bits
Designated bits
Designated number of bits (hex value = 18 decimal)
3 bytes of data
341.
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide
LSB
78
Hex value changes to 5A264
0 1 0 1 1 0 1 0 0 0 1 0 0 1 1 0 0 1 0 0
Byte 1
5A
Added bits
as seen in
the hex value
Byte 2
Nibble
26
4
"Modifying User File

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents