Agilent Technologies 8566B Operating And Programming Manual page 317

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

Advertisement

KS125
Write to Display Memory
Item
INTEGER
The KS125 command writes data, which is formatted in 2-byte binary, into the analyzer display memory The
KS125 syntax requires a specified starting address that immediately precedes KS125. Specify the address with the
DA command. Up to 1001 display memory values are written with each execution of KS125.
The following program first uses KS123 to send the contents of trace B memory to the controller array. The
program then writes the contents of the array back to the analyzer trace B memory
10
OPTION BASE 1
20
3 0
OUTPUT 718;"A4;Bl;TS;B3;"
4 0
50
OUTPUT 718 USING "K,B,#";"02;DA1024;KS";123
60
ENTER 718 USING "W";B-store( *)
7 0
!
8 0
OUTPUT 715;";Sl;Al;Bl;"
90
LOCAL718
100 PRINT "CHANGE ANALYZER DISPLAYPRESS CONTINUE"
110 PAUSE
120 !
130 OUTPUT 718;"B3;"
140 OUTPUT 718; "DA 1024;"
150 OTJTPUT 718 USING "K,B,#";"KS";125
170 OU'ITUT 718;";"
180 END
Line 20:
Dimensions enough memory to store the contents of trace B memory. The INTEGER
statement automatically dimensions 2 bytes for each element of string B-store (1001
elements).
Lines 40 to 60:
Sweeps trace B and then sets it to the view mode. The analyzer is then set to the 2-byte
binary display-units output format. Next, the contents of trace B are read by the controller
and stored in string B-store.
Lines 80 to 110:
Clears trace B, places the analyzer in the LOCAL mode, and tells the operator to change
the analyzer display (trace B display) and continue the program.
208 Programming
KS
125
Description/Default
Represents amplitude data. Each trace data
value must be sent as two &bit bytes.
(1001 values) can be sent.
2002 bytes
Range Restriction
Up to
I

Advertisement

Table of Contents
loading

Table of Contents