HP 8340B Operating Instructions Manual page 84

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

Advertisement

100
FOR N = 0 TO 255
110
OUTPUT 719; "TI"&CHR$(N)
120
ENTER 719 USING "#,B";
A
130
IF A ON THEN GOSUB 500
140
NEXT N
150
PRINT "TEST COMPLETED"
500
PRINT "TEST FAILED"
510
PRINT "TRANSMITTED";N;"RETURNED";A
520
PRINT
530
RETURN
The decimal numbers 0 through 25 cover all possible bit patterns for an 8-bit byte (thus thoroughly
exercising all 8 HP-IB data lines), and these numbers are concatenated onto the Tl code in line
110. The image items in line 120 specify that EOL should be suppressed (#), and that variable A (an
arbitrary variable) should be filled with one byte of binary data (B). In line 130, a returned value that
is less than or greater than (i.e., not equal to) the transmitted value signifies an HP-IB test failure.
TLdt
Time Limit, constrains the minimum allowable sweep time. The full sweep-time range of the
HP 8340B/41B is 10 milliseconds minimum to 200 seconds maximum (although the minimum
sweep time is frequency-span dependent, and cannot exceed a sweep rate of 600 MHz / I
millisecond). This is a non-warranted supplemental performance characteristic. Also, HP 8341 B's
equipped with Option 003 (Low Harmonics) has a different maximum sweep rate. Refer to the
Option 003 supplement for the actual value. TL sets a limit on the minimum sweep time, with that
limit ranging from 10 milliseconds to 40 seconds. For example,
100
OUTPUT 719; "TL15SC"
changes the permissible sweep-time range to 15-200 seconds. STAU is normally used to obtain
the fastest possible sweep time for a given frequency span; however, AU will not override a TL
restriction.
TS Take Sweep, initiates a single, non-interruptible sweep. All HP-IB commands are deferred until
that sweep has been completed. If TS is output while a sweep is in progress, that sweep will
abruptly stop, retrace, and begin a new, non-interruptible sweep. The HP 8340B/41B will resume
the previous sweep operations at the completion of the TS initiated sweep. A BASIC example:
100
OUTPUT 719; "IP SG"
110
PRINT "PRESS [CONTINUE! TO START THE SWEEP"
120
PAUSE
130
OUPUT 719; "TS"
140
GOTO 120
This completes the listing of unique HP-IB programming codes.
HP 8340B/41B
Operating Information
3-81

Advertisement

Table of Contents
loading

This manual is also suitable for:

8341b

Table of Contents