Agilent Technologies 8566B Operating And Programming Manual page 315

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

Advertisement

KS 123
Read Display Memory
The KS123 command sends the contents of display memory to the controller. Thus, the controller "reads" display
memory.
Starting at a designated address, KS123 sends 1001 of the 4096 analyzer display memory values to the control-
ler. The analyzer output format and display memory address must be specified before executing KS123.
Follow the three steps listed below to send any section (up to 1001 addresses long) of display memory.
1. Specify the first display memory address of the section to be read.
2. Format a string or string array in the controller to store the exact number of values you need.
3. Terminate the KS123 command with a LOCAL 718 or an OUTPUT statement.
The KS123 command tells the analyzer to "wait" until 1001 memory values are read. If the controIIer does not
read all 1001 memory values, the program must terminate this "wait" mode with step 3. The sample program
below reads 10 memory values, starting at the center of trace A.
10
20
30
!
40
50
60
OWUT 718;";"
70
LOCAL718
80
90
100
110 NEXT1
120 E N D
If KS123 is used with DA1 or DA1025, it imitates the TA and TB commands; however, TA and TB are slightly
faster and therefore preferable. The only efficient way to read the entire contents of trace C memory, however, is
with KS123. This is done by executing a DA3073 before the KS123 command, and dimensioning enough
controller memory for 1001 display values. To read individual values of trace data, use the DR command.
KS123 can also send all display memory contents (4096 values) to the controller. This is done with a program loop
that advances the display address by one and executes subsequent KS123 commands. The program below is an
example of this application.
206 Programming
KS
123

Advertisement

Table of Contents
loading

Table of Contents