Program To Download Directly To The Dac - HP E1340A User Manual

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

Advertisement

Program to
Download Directly
to the DAC
Chapter 6
This program shows how to download segment data directly to the DAC as
DAC codes.
The program downloads waveform segments using the VXIbus. The
example program generates 500, 4096 point triangle waves.
1. Reset the AFG -
*RST
2. Setup the AFG for Output -
[SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] <
3. Turn Amplitude Correction Off -
CALibration:STATe:AC OFF
The AFG cannot correct the amplitude when transferring data
directly to the DAC and thus must be turned off.
4. Select the DAC Data Source -
[SOURce:]ARBitrary:DAC:SOURce VXI
This command selects the source that transfers data to the DAC
(see " Program Comments" ). Use
the DAC.
5. Wait Until All Commands are Executed -
This command allows the AFG to wait until it has executed all
commands before the computer begins sending the data. If the
computer sends the data too soon, it will be lost.
6. Generate and Download the DAC Codes -
This step transfers the DAC codes to the DAC. The command or
downloading method used depends on the device that downloads the
data. For example, the device may be an embedded controller like the
HP E1480A V360/Controller, or IBASIC installed in the HP
E1300/E1301 Mainframe or HP E1405/E1406 Command Module.
(You can also use an external HP-IB computer connected to the HP
E1405A/E1406A Command Module or HP E1300A/E1301A
Mainframe, but at a slower data transfer rate.)
VXI
to transfer the data directly to
*OPC?
HP E1340A High Speed Operation
amplitude
>
126

Advertisement

Table of Contents
loading

Table of Contents