HP 8340B Operating Instructions Manual page 74

Synthesized sweepers
Hide thumbs Also See for 8340B:
Table of Contents

Advertisement

A BASIC example:
10
DIM BC8)
BCJ)
';BITCBC J>,K>
100
OUTPUT 719; "DM"
%
nr7x
110
ENTER 719 USING
; B(1>, B(2>, BC3), BC4) , BC5>, BC6), BC7),
BC8)
120
FOR J = 1 to 8
130
PRINT "BYTE"; J
140
PRINT "DECIMAL"; BCJ)
150
FOR K = 0 TO 7
160
PRINT"BIT";K;"=";BITCB(J>,K)
170
NEXT K
180
PRINT
190
NEXT J
Line 110 suppresses the normal end-of-line sequence by using the "#" image specifier (this must
be done in case the bit pattern of the data coincidentally duplicates the bit pattern of the EOL,
which would cause a false termination), and inputs the 8 bytes of data (image specifier
B
indicates binary data). Lines 120-190 prints the bytes' decimal and bit values. This is how to
interpret the byte data:
BYTE 1 indicates the last-pressed front panel key, and the decimal value of this byte corresponds
to the keys as follows:
Decimal
Value
13
14
15
16
17
18-64
[0] - [9] numerical keys
[•]
[—] minus key
[- / BACK SPACE]
used as the back space
[-]
M
[MKR—CF]
[SHIFT] [MKR SWEEP]
[INSTR PRESET]
not used
[CONT]
[SINGLE]
[MANUAL]
[Ml]
[M2]
[M3]
[M4]
[M5]
[FREE RUN]
[LINE]
[EXT]
[MKR SWEEP]
[OFF]
[MKRA]
not used
[LOCAL]
[SAVE]
Decimal
Value
Key
82
[RECALL]
83
[ALT]
84
not used
85
[PULSE]
86
[AM]
87
[ENTRY OFF]
88-96
not used
97
[START FREQ]
98
[STOP FREQ]
99
[CF]
100
[AF]
101
[CW]
102
[POWER LEVEL]
103
[SWEEP TIME]
104
[SHIFT]
105
[GHz/dB(m)]
106
[MHz/sec]
107
[kHz/msec]
108
[Hz/AUTO]
109
[INT]
110
[XTAL]
111
[METER]
112
[AMTD MKR]
113
[PEAK]
114
[PWR SWP]
115
[SLOPE]
116
[RF]
117-128
not used
HP 8340B/41B
Operating Information

Advertisement

Table of Contents
loading

This manual is also suitable for:

8341b

Table of Contents