EasyManua.ls Logo

Keysight E4428C ESG RF - Page 333

Keysight E4428C ESG RF
404 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Keysight Signal Generators Programming Guide 325
Creating and Downloading User–Data Files
User File Data (Bit/Binary) Downloads (E4438C and E8267D)
on the bit data SCPI command format, see “Downloading User Files” on page 332 and “Command for Bit
File Downloads” on page 335.)
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 “FTP Procedures” on page 339.
SCPI Command
:MEM:DATA:BIT <"file_name">,<bit_interest>,<datablock>
:MEM:DATA:BIT "3byte",23, # 1 3 Z&x
0 1 0 1 1 0 1 0 0 0 1 0 0 1 1 0 0 1 1 1 1 0 0 0
Downloaded Data:
Byte 1
Byte 2
Byte 3
Bits of interest
Ignored bit (LSB)
5A
26
78
Hex Value:
MSB
ASCII representation of the data (3 bytes)
Z
&
x
ASCII Representation:
Start block data
number of bytes
number of decimal digits
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&xSCPI command to download the data
As Seen in the Signal Generators Bit File Editor

Table of Contents

Related product manuals