Hp E1340A High Speed Operation; Chapter Contents; Using Dac Data To Generate Waveforms - HP E1340A User Manual

Arbitrary function generator
Hide thumbs Also See for E1340A:
Table of Contents

Advertisement

Chapter Contents

Using DAC Data to Generate Waveforms

Determining DAC
Codes
109

HP E1340A High Speed Operation

HP E1340A High Speed Operation
This chapter explains how to use the HP E1340A Arbitrary Function
Generator at faster speeds and other operations.
Chapter 3 shows how to transfer waveform segments to the AFG as voltage
values. This is the slowest method to transfer the lists to the AFG. This
chapter shows faster ways to transfer the data to the AFG. The sections are
as follows:
Using DAC Data to Generate Waveforms . . . . . . . . . . . . . . Page 109
Using Definite Length Blocks to Transfer Data . . . . . . . . . . Page 113
Using the VXIbus Backplane. . . . . . . . . . . . . . . . . . . . . . . . . Page 120
Program Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 129
Transferring waveform segments as Digital-to-Analog Converter (DAC)
Codes to the AFG is faster than transferring a voltage list. The following
shows how to transfer the lists as DAC codes using 16-bit integers. The
DAC codes are transferred to the AFG as a comma ( , ) separated list. Be
sure to set the upper 4 bits of the integers to 0.
For outputs into matched loads and with the amplitude set to maximum
(+5.11750V), the following DAC codes generate the following outputs:
Code 0 outputs -5.12 V or negative full scale voltage
Code +2048 outputs 0 V
Code +4095 outputs +5.11750 V or positive full scale voltage
To calculate DAC codes from voltage values, use the formula:
DAC Code = (voltage value / .0025) + 2048
For example, to output -2V:
DAC Code = (-2 / .0025) + 2048 = -800 + 2048 = 1248
Chapter 6
Chapter 6

Advertisement

Table of Contents
loading

Table of Contents