HP 8340A Operating Manual page 128

Synthesized sweeper 10 mhz to 26.5 ghz
Hide thumbs Also See for 8340A:
Table of Contents

Advertisement

Operating Information
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; " ... ( programming codes ) ... "
110
REM
120
REM
130
OUTPUT 719; "OL"
140
ENTER 719 USING"#, 123A"; A$
150
REM
160
REM
170
OUTPUT 719; "IL"&A$
Line 140 is a formatted I/0 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 concatenates the literal data in A$ (which is an
arbitrary variable) with the IL programming code. For additional 1/0 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 functions of the HP 8340A:
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.
A BASIC example:
10
DIM B( 8 )
100
OUTPUT 719; "OM"
ENTER 719 USING"#, B"; B( l ), B( 2), B( 3 ), B( 4), B(5), B(6) , B( 7 ), B(8)
110
3-64
STORE THIS INSTRUMENT STATE
RETRIEVE THIS INSTRUMENT STATE
Scans by HB9HCA and HB9FSX
Model 8340A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents