HP 8360 User Manual
Page 124
![background image](/manuals/89476/124/background.png)
70
80
90
100
110
120
130
140
150
160
170
180
190
200
210
220
230
OUTPUT
SWE;STAR
ON"
OUTPUT
1"
PRINT "A
sweeping state
has been saved in REGISTER 1."
OUTPUT
OUTPUT
2"
PRINT "A CW state has been saved in REGISTER
PRINT
Press Continue"
PAUSE
OUTPUT
PRINT "Register 1 recalled. Verify
source is sweeping.”
PRINT "Press Continue."
PAUSE
OUTPUT
2"
PRINT "Register 2 recalled."
PRINT "Verify source is in CW mode.'
END
Run the program.
Program Comments
10: Assign the source’s HP-IB address to a variable.
20 to 50: Abort any HP-IB activity and
initialize
the HP-IB
interface.
60: Clear the computer’s display.
70: Setup the source for a sweeping state. Note the combination
of several commands into a single message. This single line is
equivalent to the following lines:
OUTPUT
OUTPUT
OUTPUT
4 GHZ'
OUTPUT
5 GHZ"
OUTPUT
ON"
80: Save this state into storage register 1.
90: Clear the computer display.
100: Print a message on the computer display.
110: Setup the source for a CW state. Note the combination
of several commands into a single message. This single line is
equivalent to the following lines:
OUTPUT
OUTPUT
1.23456 GHZ"
OUTPUT
-1
120: Save this state into storage register 2.
130 to 150: Print a message on the computer display and pause.
Getting Started Programming