Agilent Technologies 8566B Operating And Programming Manual page 309

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

Advertisement

KS39
Write to Display Memory
KS
Item
INTEGER
INTEGER
KS39 is the general purpose command for writing data into the analyzer display memory. Any starting display
address is allowed with KS39. Up to 4096 display memory values can be sent in one operation. Data send with
KS39 must be in 2-byte binary format, 02, and be terminated with a single binary byte value of 32. The number of
bytes sent to the analyzer is limited by the number of addresses between the starting address and address 4095, the
last display memory address. The display address must be sent to the analyzer in the 2-byte binary format.
KS123 and KS39 are often used together to read and write the contents of display memory The following
program demonstrates this.
10
OPTION BASE 1
DIM M$(8)[ 10241
20
30
D a = 0
40
!
6 0
70
ENTER 718 USING "#,1024A";M$(I)
80
9 0
110 I
120 OUTPUT 718;";A3;B3;Ml;L0;KSm;KSo;"
130 OWUT 718;"EM;KSI;EM; EX;KSi;EM;"
160 !
170 OUTPUT 718 USING "#,K,B,W,";"KS";39;0
180 OUTPUT 718 USING "8(K),B";M$( * );32
190 OUTPUT 718;";Al;"
200 END
200 Programming
ANALYZER
MEMORY
Description/Default
Represents the analyer display memory
address. Must be sent to analyzer as two 8-bit
bytes.
Represents amplitude data. Each data value
must be sent to analyzer as tow 8-bit bytes.
Range Restriction
1 to 4095
Number of addresses between
starting address and 4095.

Advertisement

Table of Contents
loading

Table of Contents