Using The Rotary Knob; Using Keys That Toggle On/Off; Operator's Programing Check - HP 8340B Operating Instructions Manual

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

Advertisement

Using the Rotary KNOB
The rotary [ KNOB ] can also be enabled for interactive programs. The [KNOB] is normally disabled
when the HP 8340B/41B is in REMOTE; however, the "EK" programming code reenables the
[KNOB]:
80
REM
EK ALLOWS THE KNOB TO CONTROL PL
90
OUTPUT 719; "EKPL"
100
PAUSE
110
REM
EK ALLOWS THE KNOB TO CONTROL CW
120
OUTPUT 719; ,,EKCW,,
130
END
The "EK" can precede or follow the programming code for the function key; that is, "EKCW" and
"CWEK" are functionally equivalent. If EK is output by itself, the [KNOB] will control the last-activated
function:
80
OUTPUT 719; "FA10GZ
FB14G2
PL -90DB
ST100MS"
90
OUTPUT 719; "EK"
100
END
Line 80 establishes a start frequency of 10 GHz, stop frequency of 14 GHz, power level of -90 dBm,
and a sweep time of 100 milliseconds. Line 90 enables the [KNOB], which will control the sweep time
since that was the last-activated function.
Using Keys that Toggle ON/OFF
Several keys, such as the MODULATION keys, activate functions that are either ON or OFF. To turn a
function ON or OFF, add a "0" (OFF) or "1" (ON) suffix to the key's programming code. For example:
200
REM
TURN THE "AMTD MKR" ON
210
OUTPUT 719; "AK1"
220
PAUSE
230
REM
TURN THE "AMTD MRK" OFF
240
OUTPUT 719; "AK0"
Operator's Programming Check
To check the various programming codes that duplicate front panel operations, enter this BASIC
program (or equivalent):
10
DIM A$"60"
20
REMOTE 719
30
PRINT "ENTER PROGRAMMING CODES"
40
INPUT A$
50
OUTPUT 719; A$
80
GOTO 30
70
END
RUN the program, and enter any combination of programming codes (60 characters maximum) when
prompted; for example:
ENTER PROGRAMMING CODES?
FA12GZ FB18GZ PL -65DB STAU
(followed by RETURN or END LINE
The HP 8340B/41B should immediately respond to your commands with, in this example, a 12 GHz
start frequency, 18 GHz stop frequency, power level of —65 dBm, and a sweep time set to auto (auto
selects the fastest possible sweep rate for a given frequency span).
The preceding applications of the OUTPUT command are sufficient for writing computer programs
that duplicate all front panel operations. The next subsection explains programming codes that do not
have an equivalent key on the front panel.
HP 8340B/41B
Operating Information
3-63

Advertisement

Table of Contents
loading

This manual is also suitable for:

8341b

Table of Contents