Agilent Technologies 16522A User Manual page 110

200-m vectors/s pattern generator
Table of Contents

Advertisement

Programming the Agilent 16522A
WIDTh
The section data format varies for each section and may be any length.
<section data>
Note that the total length of a section is 16 (for the section header) plus the
length of the section data. Thus, when calculating the length of a block of
configuration data, don't forget to add the length of the headers.
Example
10 DIM Block$[32000]
20 DIM Specifier$[2]
30 OUTPUT XXX;"EOI ON"
40 OUTPUT XXX;"SYSTEM:HEAD OFF"
50 OUTPUT XXX;"SELECT 1"
60 OUTPUT XXX;"SYSTEM:DATA?
70 ENTER XXX USING"#,2A";Specifier$
80 ENTER XXX USING"#,8D",Blocklength
90 ENTER XXX USING"-K",Block$
3–56
!allocate enough memory for block data
!select module
!send the data query
!read in #8
!read in block length
!read in data

Advertisement

Table of Contents
loading

Table of Contents