EasyManuals Logo

HP 8360 L Series User Manual

HP 8360 L Series
429 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #127 background imageLoading...
Page #127 background image
Using the
l
WAl
Command, Example
Program 7
10
Source=719
20
ABORT 7
30
LOCAL 7
40 CLEAR Source
50
REMOTE Source
60
CLS
70
OUTPUT
Source;"*RST"
80
OUTPUT
Source;"FREQ:STAR
4GHZ; STOP 5GHZ; MODE
SWE"
90
OUTPUT
Source;"SWE:TIME
2"
100
OUTPUT
Source;"*OPC?"
110
ENTER Source;X
120
FOR
I=1
TO 4
130
OUTPUT
Source;"INIT"
140
OUTPUT
Source;"*WAI"
150
OUTPUT
Source;"POW:STAT
ON"
160
OUTPUT
Source;"INIT"
170
OUTPUT
Source;"*WAI"
180
OUTPUT
Source;"POW:STAT
OFF"
190
NEXT I
200
PRINT "Finished sending commands to source."
210
PRINT "Note that execution is continuing for four cycles."
220
END
The following example illustrates the use of the
*WA1
command to
cause the swept CW generator to perform a synchronous sweep.
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 the source up for a sweep, from 4 GHz to 5 GHz.
90: Set the sweep time to 2 second. In SCPI, suffixes are optional
if you program in fundamental units (for sweep time, that would
be seconds).
100: Send an *OPC? to the source.
110: Enter the query response to the *OPC? into a variable “X”.
The
program execution
will halt here until the source has finished
processing all the commands up to this point. Once complete, the
source will respond to the
“OPC?
with a “1”.
120: Begin a FOR/NEXT loop that is repeated four times.
130: Initiate a sweep on the source.
Getting Started Programming
l-
10 1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 8360 L Series and is the answer not in the manual?

HP 8360 L Series Specifications

General IconGeneral
BrandHP
Model8360 L Series
CategoryInverter
LanguageEnglish

Related product manuals