HP 8340A Operating Manual page 125

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

Advertisement

Model 8340A
Bit 0 is set true by decimal " l ," bit 1 is set by decimal "2," and bit 2 is set by
decimal "4." A BASIC example that sets bits 0, 1, and 2 true:
100
OUTPUT 719; "NA"&CHR$(7)
In this example, the binary value of decimal 7 (CHR$(7) ) is concatenated to the
NA code (&). Alternatively, a formatted OUTPUT statement could be used to
output the same binary information:
100
OUTPUT 719 USING "2A, B"; "NA", 7
The image specifier "2A, B" indicates that two literal characters will be output,
followed by a single binary byte.
Consult the Operating Guide for the specific network analyzer being used for
detailed interfacing information.
OA( d)
Output Active parameter, allows the computer to read the numerical value of the
presently active HP 8340A function. The active function is the last-used function, and
appears in an un\:>lanked ENTRY DISPLAY. ABASIC example:
100
OUTPUT 719; "FA65MZ FB75MZ PLlODB STl SC"
110
OUTPUT 719; "OA"
120
ENTER 719;A
130
PRINT "ACTIVE PARAMETER="; A
Sweep time is the active parameter, because it was the last-entered function (line 100).
The OA value read by the computer (read in line 120, and assigned to arbitrary variable
A) is always in the fundamental units of Hz, dB(m), or seconds.
The OM code (byte 2) can be used to determine the presently active function.
OB( d)
Output next Band frequency, indicates the frequency of the next bandcrossing. The
HP 8340A has four bandcrossing points, at 2.4 GHz, 7.0 GHz, 13.5 GHz, and 20.0 GHz.
A BASIC example:
100
OUTPUT 719
110
OUTPUT 719; "OB"
120
ENTER 719; A
130
PRINT "NEXT BANDCROSSING ";N1E9;" GIGAHERTZ"
In this example, the HP 8340A is outputting a 6 GHz CW signal, so the next
bandcrossing point is 7.0 GHz. The OB frequency is always in Hz; line 130 divides the
OB value by 1
OC(3d)
Output Coupled parameters, allows the computer to read the values of the start
frequency, center frequency, and sweep times (in this order) of the HP 8340A. The
values are always read in the fundamental units of Hz and seconds. In BASIC:
100
OUTPUT 719; "FA l GZ FB19GZ STAU"
110
OUTPUT 719; "OC"
120
ENTER 719; S,C,T
130
PRINT "START FREQUENCY'';S/1E9;" GHZ"
140
PRINT "CENTER FREQUENCY'';C/1E9;" GHZ"
150
PRINT "SWEEP TIME";T;" SECONDS"
l
/ "CW6GZ"
109 for conversion to GHz units.
X
Scans by HB9HCA and HB9FSX
Operating Information
3-61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents