![HP 8360 B Series User Manual Download Page 123](http://html.mh-extra.com/html/hp/8360-b-series/8360-b-series_user-manual_163548123.webp)
Queries, Example
The following example demonstrates the use of query commands and
Program 4
response data formats. Clear and reset the controller and type in the
following program:
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200
210
220
230
240
250
260
270
Source=719
ABORT 7
LOCAL 7
CLEAR Source
REMOTE Source
OUTPUT
OUTPUT
-5
OUTPUT
ENTER
PRINT "Present source CW frequency is :
OUTPUT
ENTER Source;W
PRINT "Present power ON/OFF state is :
OUTPUT
DIM
ENTER Source;A$
PRINT "Source's frequency mode is :
OUTPUT
ENTER
PRINT "Minimum source CW frequency is :
OUTPUT
ENTER
PRINT "Swept frequency limits
PRINT Start
PRINT Stop
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: Set the source to its initial state for programming.
80: Set up the source power level using a compound message.
90: Query the value of the source’s CW frequency.
100: Enter the query response into the variable ‘F’. The response
always is returned in fundamental units, Hz in the case of
frequency.
110: Print the CW Frequency in MHz on the computer display.
120: Query the value of a Boolean function, POWER:STATE.
Getting Started Programming 1-95
Summary of Contents for 8360 B Series
Page 363: ...NF N 2 w z P w D I oa 0 i B 6 7 On s5 n 20 a g 9 i T2 ...
Page 406: ...2b Menu Maps Menu Maps 2b 1 ...
Page 407: ...t t m ALC Bandwidth Select Module Sense Low High Auto AUTO Front Rear None ALC MENU ...
Page 412: ...rMENU SELECT 1 Fault Fault Info1 Info2 Fault Info3 Clear Fault S E R V I C E M E N U 6 ...