11.07.2015 Views

Agilent 33120A User's Guide

Agilent 33120A User's Guide

Agilent 33120A User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4 Remote Interface ReferenceArbitrary Waveform CommandsDATA:DAC VOLATILE(continued)œ To download binary data over the RS-232 interface, you must select8 data bits with no parity. See “RS-232 Interface Configuration” onpage 195 for more information.œ The following statement shows how to use the DATA:DAC VOLATILEcommand to download eight integer points using the binary blockformat (see also “Using the IEEE-488.2 Binary Block Format” below):"DATA:DAC VOLATILE, #216 Binary Data "œ The following statement shows how to use the DATA:DAC VOLATILEcommand to download eight integer points:"DATA:DAC VOLATILE, 2047,1536,1024,512,0,-512,-1536,-2047"Using the IEEE-488.2 Binary Block FormatIn the binary block format, a block header precedes the waveform data.The block header has the following format:# 5 32000Start ofData BlockNumber of Digitsto FollowEven Number of Bytes to Follow(32,000 bytes = 16,000 points)The function generator represents binary data as 12-bit integers, which is sentas two bytes. Therefore, the total number of bytes is always twice the numberof data points in the waveform (and must always be an even number ). For example,32,000 bytes are required to download a waveform with 16,000 points.Use the FORM:BORD command to select the byte order for binary transfers inblock mode. If you specify FORM:BORD NORM (default), the most-significantbyte (MSB) of each data point is sent first. If you specify FORM:BORD SWAP,the least-significant byte (LSB) of each data point is sent first. Most PCs usethe “swapped” byte order.180

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!