Agilent Technologies 8566B Operating And Programming Manual page 319

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

Advertisement

KS126
Read Every Nth Value
Item
INTEGER
KS126 sends every Nth value in display memory to the controller. This is useful when more trace data than
required are available. For example, when displaying noise data in zero span, a small number of points can be
sampled and averaged without a significant loss of data. Another example is when the resolution bandwidth is
wide enough relative to the spanwidth so that only minimum display resolution is required.
Before executing the KS126 command, the analyzer output format and starting display memory address must be
specified. All trace memories must be in a store mode (VIEW or BLANK) when they are read by KS126. Immedi-
ately following the command, the variable N must be specified as follows:
N = point interval and is described by the formula N = lOOO/(M - 1).
M = the number of points to be read and is described by the formula M
= (1000/N) - 1.
The value of N must be an integer and must be sent to the analyzer as a single binary byte. The resulting value of M
dimensions memory in the controller.
The following program is an example of reading 11 values of trace B with KS126.
10
OPTION BASE 1
INTEGER A( 11)
2 0
OUTPUT 718 USING "K,B,K";"O1;DA1025;KS";126;"100;"
3 0
4 0
ENTER 718;A(I)
5 0
PRINT A(1)
6 0
NEXT1
7 0
E N D
8 0
The KS126 command cannot be executed from the front panel.
This is the decimal ASCII equivalent and is transmitted to the analyzer as a single 8-bit byte
l
2 10 Programming
126
KS
Description/Default
Represents every Nth value of trace A, B, or C
display memory.
NTH
l
Range Restriction
I

Advertisement

Table of Contents
loading

Table of Contents