User`s manual
name of the segment sequence list to be downloaded, and <length>
contains the size of the segment sequence list in number of segment
lists (i.e., the same size set in
[SOURce:]LIST[1]:SSEQuence:DEFine
<
length>).
24. Place the AFG into Hold Until All Commands are Executed
*OPC?
This commands prevents the AFG from receiving data over the
VXIbus until it executes all the previous commands. If
*OPC? is not
sent, the AFG will try to receive data, and thus generate an error,
even before it completes executing the previous commands.
25. Download and Store the Segment Sequence List as a Combined List
This step stores the segment sequence list into memory. The
command or downloading method used depends on the device that
downloads the data. For example, the device may be an embedded
controller. (You can also use the command module, like the E1406A
Command Module, but at a slower data transfer rate.)
26. Notify the AFG that Downloading is Completed
[SOURce:]ARBitrary:DOWNload:COMPlete
Send this command to the AFG after all data is downloaded.
27. Generate the Output
INITiate[:IMMediate]
BASIC Program Example (VXIDOWN)
This program is similar to the COMBSEQ program beginning on page 255,
except on how the data is transferred to the AFG. The program uses a V360
Controller to download the data using the VXIbus instead of transferring it
directly to the AFG using GPIB.
1 !RE-STORE"VXIDOWN"
2 !This program downloads two arbitrary waveforms from the VXIbus
3 !backplane. The program loads segment memory by writing to the
4 !AFG’s high-speed data register, and loads sequence memory by
5 !writing to the Sequence register. The program is written for a
6 !Agilent E1480 V/360 embedded controller, which allows direct access to
7 !the registers via the VXIbus.
8 !
10 !Assign I/O path between the computer and E1445A.
20 ASSIGN @Afg TO 1680
30 COM @Afg,Base_addr
40 !
50 !Set up error checking for the SCPI commands.
60 ON INTR 16 CALL Errmsg
70 ENABLE INTR 16;32
80 OUTPUT @Afg;"*CLS"
Continued on Next Page
264 High Speed Operation Chapter 7