Agilent Technologies N5181A/82A User Manual Page 299

  • Download
  • Add to my manuals
  • Print
  • Page
    / 366
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 298
Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide 289
Creating and Downloading User-Data Files
User File Data (Bit/Binary) Downloads (E4438C and E8267D)
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 303.
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
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
Page view 298
1 2 ... 294 295 296 297 298 299 300 301 302 303 304 ... 365 366

Comments to this Manuals

No comments