Agilent Technologies 8566B Operating And Programming Manual page 191

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

Advertisement

DW
Display Write
Item
INTEGER
The DW command sends a decimal number from the controller to the current or specified (with the DA com-
mand) display memory address, and advances the address selection to the next higher address. If the DW
command is followed by more than one number, they are all loaded into consecutive display addresses. The
display address is always advanced by one after a number is loaded into an address. (Each display address
contains 12 bits. See DA.)
The decimal number represents data, or is an ASCII representation of a display instruction.
Use the DW command in conjunction with the DR and DA commands to draw on the spectrum analyzer CRT
when the 03 or 01 output format is active. Refer to Appendix B for additional information about display memory
instructions and display programming. The Consolidated Coding table and Data Word Summary in Appendix B
are especially useful.
The program line below contains an instruction word, 1026, followed by data, 500 and 600. The DW command
writes the numbers 1026, 500, and 600 into display addresses 1024, 1025, and 1026, respectively. The DA
command specifies 1024 as the first address.
OUTPUT 718;"DA 1024; DW 1026,500,600;"
The instruction word (1026) causes the analyzer to draw a vector from the current position to the X-Y coordinates
500,600. (See Chapter 4 in Section I for a description of display unit coordinates.)
8 2 P r o g r a m m i n g
Description/Default
Integers representing display
memory values or instruction
words.
Range Restriction
0 - 4095

Advertisement

Table of Contents
loading

Table of Contents