Agilent Technologies 8566B Operating And Programming Manual page 177

Spectrum analyzer 100 hz - 2.5 ghz/2 - 22 ghz
Table of Contents

Advertisement

DD
Display Write Binary
Item
INTEGER
The DD command writes two &bit bytes into the current or specified (with DA command) display memory
address, and advances the address selection to the next higher address. If the DD command is followed by more
than one pair of bytes, DD loads the pairs into consecutive display addresses. The display address is always
advanced after a number is loaded into an address. (Each display address contains twelve bits.)
The bytes represent data or a display instruction.
Use the DD command in conjunction with the DR and DA commands to draw on the spectrum analyzer CRT The
functions of the DD and DW commands are identical, except that the controller must send instructions or data in
binary form instead of decimal form. This difference is illustrated in the program below. The program tells the
analyzer, in four different ways, to dim trace A. The number 1048 is an instruction word that means "dim trace."
10
20
30
PAUSE
40
50
PAUSE
70
80
90
PAUSE
100 0UTPUT718;"A1$32;TS;"
110 A$=CHR$(4)&CHR$(24)
120 OUTPUT718USING "#,K";"DAPIDD",A$
130 E N D
Lines 10,4O, 70, 100:
Line 20:
Line 50:
Line 80:
Line 110:
Line 120:
6 8 P r o g r a m m i n g
DD
i n t e g e r
Description/Default
Represents 16-bit binary byte that is
transmitted as two &bit bytes.
Sweeps trace and displays trace A once.
Transmits instruction word 1048, in decimal form, to display address 0.
Suppresses carriage-return/line-feed (#) , transmits instruction word 1048 as one word
(W for word, or 16 bits).
Suppresses carriage-return/line-feed (#), transmits instruction word 1048 as two &bit
bytes (B,B for byte,byte).
Declares A4 equal to CHR$(4) plus CHR$(24).
Transmits instruction word 1048, as A$.
Range Restriction
0
4095

Advertisement

Table of Contents
loading

Table of Contents