Agilent Technologies E1441A user service ATTRibute:AVERage?, ATTRibute:CFACtor?

Models: E1441A

1 206
Download 206 pages 30.53 Kb
Page 79
Image 79
Downloading a

Downloading a

Binary Block of

Data

Using the IEEE-488.2 Binary Block Format

In the binary block format, a block header precedes the waveform data. The block header has the following format:

#532000

where:# = Start of data block

5 = Number of digits to follow

32000 = Even number of bytes to follow

(32,000 bytes = 16,000 points)

The function generator represents binary data as 12-bit integers;the data is sent as two bytes. Therefore, the total number of bytes is always twice the number of 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 in block mode. If you specify FORM:BORD NORM (default), the most-significant byte (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 use the “swapped” byte order.

:ATTRibute:AVERage?

DATA:ATTRibute:AVERage? [<arb name>] queries the arithmetic average of all data points for the specified arbitrary waveform. The default arb name is the arbitrary waveform currently active (selected with FUNC:USER command).

Parameters The arb name may contain up to 8 characters. The first character must be a letter (A-Z), but the remaining characters can be numbers (0-9) or the underscore character (“ _ ”). Blank spaces are not allowed. If you specify a name with more than 8 characters, a +783, “Arb waveform name too long” error is generated.

The function generator does not distinguish between upper- and lower-case letters for the arbitrary waveform name. Therefore, ARB_1 and arb_1 are the same name. All characters are converted to upper case.

Comments If you query a waveform that is not currently stored in memory, a +785, “Specified arb waveform does not exist” error is generated.

:ATTRibute:CFACtor?

DATA:ATTRibute:CFACtor? [<arb name>] queries the crest factor of all data points for the specified arbitrary waveform. Crest factor is the ratio of the peak value to the RMS value of the waveform. The default arb name is the arbitrary waveform currently active (selected with FUNC:USER command).

Chapter 3

Agilent E1441A SCPI Command Reference 79

Page 79
Image 79
Agilent Technologies E1441A user service ATTRibute:AVERage?, ATTRibute:CFACtor?, Downloading a Binary Block of Data