EasyManua.ls Logo

HP 8360 L Series - Program Comments

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
Loading...
210
OUTPUT
QStimulus;“*IDN?”
220
ENTER
OStimulus;Id$
230
PRINT Id$
240 PRINT
250 !
260
PRINT “Counter Used .
..‘I
270
OUTPUT
QResponse;“*IDN?”
280
ENTER
QResponse;Id$
290
PRINT Id$
300
PRINT
310 !
320
OUTPUT
QStimulus;“:OUTPUT
ON”
330 !
340
PRINT
350
PRINT “INPUT
[mv]“,“OUTPUT
CkHz]”
360
PRINT
II_________
-II,
II
___________-
11
370
PRINT
380 !
390
FOR Testpoint=First TO Last
400
OUTPUT
OStimulus;“:SOURCE:VOLT
“;VAL$(Testpoint/lOOO);“;*OPC?”
410
ENTER
OStimulus;Dummy
420
OUTPUT
QResponse;“:MEAS:FRED?”
430
ENTER
OResponse;Reading
440 PRINT Testpoint,Reading/lOOO
450 NEXT Testpoint
460 !
470
OUTPUT
OSource;“:OUTPUT
OFF”
480 END
Program Comments. Lines 20 to 70: Declare variables and I/O paths
for instruments. I/O
paths let you use a name for an instrument in
OUTPUT and ENTER statements, instead of a numeric address.
80 to 100: Assign values to the input test limits in mV.
110 to 130: Clear the instrument HP-IB interfaces.
140 to 160: Reset each instrument to a known measurement state.
170 to 190: Print the test report title.
200 to 310: Query measurement instruments’identifications for test
traceability.
320 to 330: Connect the source output signal to the output
terminals.
340 to 380: Print results table header.
390 to 460: This is the main measurement loop. Line 400 contains
two
commands.
:SOURce:VOLT sets the output levelofthe source.
*OPC?
is used to signal that the preceding command has finished
executing. To make an accurate measurement, the source output
must be allowed to settle. When the output has settled, *OPC? places
1-78 Getting Started Programming

Table of Contents

Related product manuals