HP 8340B Operating Instructions Manual page 73

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

Advertisement

OK(d) Output last locKed frequency, indicates the last phase locked frequency of the HP 8340B/41B,
in Hz. A BASIC example:
100
OUTPUT 719; "CWEK"
110
PAUSE
120
OUTPUT 719; "OK"
130
ENTER 719; F
140
PRINT "LAST FREQUENCY"; F; "HZ"
In line 100, the rotary [KNOB] is enabled (EK) and used to adjust the CW frequency. After complet¬
ing the frequency adjustment, press [CONTINUE] on the computer and the last phase lock fre¬
quency (the current CW frequency in this example) is read and printed.
QL(123b) Output Learn data, is used on conjunction with IL (Input Learn data) to save and recall
specific instrument operating configurations. OL/IL is similar to SAVE/RECALL, except: the func¬
tion that was active prior to OL storage is once again active after an IL recall; and SAVE/RECALL
is restricted to nine instrument configurations and uses the memory of the HP 8340B/41B while
OL/IL uses the computer's memory and is restricted only by the size of that memory.
The learn data consists of 123 bytes of information. This information is heavily coded and densely
packed for conciseness, so a byte-by-byte deciphering is not recommended (use OP to obtain
information about a specific function or state). This is a typical BASIC program using Ol and IL:
10
DIM A $ [ 123]
100
OUTPUT 719; "... € prog ramming codes . . . "
110
REM
120
REM
STORE THIS INSTRUMENT STATE
130
OUTPUT 719; "OL"
140
ENTER 719 USING "#,123A"; A$
150
REM
160
REM
RETRIEVE THIS INSTRUMENT STATE
170
OUTPUT 719; "IL" &A$
Line 140 is a formatted I/O statement, where the # suppresses the end-of-line sequence (so valid
data is not misinterpreted as EOL), and the 123A is an instruction to fill A$ with 123 bytes of literal
data. Line 170 concentrates the literal data in A$ (which is an arbitrary variable) with the IL pro¬
gramming code. For additional I/O formatting information, consult the I/O Programming Manual
for the specific computer being used.
OM(8b) Output Mode, outputs 8 bytes of information that completely describes the presently active
function of the HP 8340B/41B.
Byte 1 records the last-pressed front panel key.
Byte 2 indicates the active function.
Byte 3 records the active and previously active markers.
Byte 4 indicates the marker status.
Byte 5 indicates trigger, sweep, and frequency modes.
Byte 6 indicates the status of various front panel functions.
Byte 7 indicates output power and leveling status.
Byte 8 indicates the status of the modulation and other functions.
3-70
Operating Information
HP 8340B/41B

Advertisement

Table of Contents
loading

This manual is also suitable for:

8341b

Table of Contents