Program Comments - HP 8360 B Series User Manual

Swept signal generator, including options 001, 002, 004, 006, and 008
Table of Contents

Advertisement

210
220
230
240
250 !
260
270
280
290
300
310 !
320
330 !
340
350
360
370
380 !
390
400
410
420
430
440
450
460 !
470
480
1-78 Getting Started Programming
OUTPUT QStimulus;"*IDN?"
ENTER QStimulus;Id$
PRINT Id$
PRINT
PRINT "Counter Used . ..'I
OUTPUT OResponse;"*IDN?"
ENTER OResponse;Id$
PRINT Id$
PRINT
OUTPUT QStimulus;":OUTPUT ON"
PRINT
PRINT "INPUT [mvl","OUTPUT CkHz]"
PRINT
FOR Testpoint=First TO Last
OUTPUT OStimulus;":SOURCE:VOLT ";VAL$(Testpoint/lOOO);";*OPC?"
ENTER OStimulus;Dummy
OUTPUT OResponse;":MEAS:FREq?"
ENTER QResponse;Reading
PRINT Testpoint,Reading/lOOO
NEXT Testpoint
OUTPUT QSource;":OUTPUT OFF"
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.
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,
:SOURce:VOLT sets the output level of the source.
places

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

83630b83620b83640b83650b83622b83623b ... Show all

Table of Contents