![HP 8360 User Handbook Manual Download Page 126](http://html.mh-extra.com/html/hp/8360/8360_user-handbook-manual_156311126.webp)
100: Setup the source’s sweep time to 1 second.
110: Send the
command to the source to ensure that the
previous commands are completed and the source is ready to begin
controlled sweeps.
120: Enter the response to the *OPC? into the variable X. The
response should be a ‘1’.
130: Start of the loop.
140 and 150: Prompt the operator for the number of sweeps to
take. The number of sweeps to take is stored in the variable N.
Enter 0 to quit the program.
160: Don’t take any sweeps if N is less than 0.
170: Start a FOR/NEXT loop to take N sweeps.
180: Display the number of this sweep on the computer display.
190: Initiate a single sweep on the source and then wait until
the pending operation is complete. Return a ‘1’ when the sweep
completes.
200: Enter the response to the *OPC? into the variable X. The
program execution will halt on this ENTER statement until the
sweep is finished.
210: Repeat the
sequence N times.
220: End of the IF statement to skip sweeps if N is negative.
230: Exit the program if the value of N is 0.
Using the
The following example illustrates the use of the
command to
Command, Example
cause the synthesizer to perform a synchronous sweep.
Program 7
10
20
ABORT 7
30
LOCAL 7
40
CLEAR Source
50
REMOTE Source
60
70
OUTPUT
80
OUTPUT
STOP
MODE
90
OUTPUT
100
OUTPUT
110
ENTER Source;X
120
FOR
TO 4
130
OUTPUT
140
OUTPUT
150
OUTPUT
160
OUTPUT
170
OUTPUT
180
OUTPUT
Getting Started Programming
Summary of Contents for 8360
Page 97: ......
Page 138: ......
Page 150: ......
Page 318: ......
Page 336: ......
Page 352: ......
Page 360: ......
Page 397: ...2b Menu Maps Menu Maps 2b 1 ...
Page 398: ......
Page 399: ......
Page 400: ......
Page 401: ......
Page 402: ......
Page 403: ......
Page 404: ......
Page 405: ......
Page 406: ......
Page 435: ...Figure 3 3 Removing the Side StraPs and Feet NSTALLATION 3 ...
Page 461: ......
Page 463: ...5 4 Change B HP 8380 User s Handbook ...
Page 467: ...5 8 Change A HP 8360 User s Handbook ...
Page 481: ...optioll9l3RackFhgeKit 5 22 Change A HP 8360 User s Handbook ...