Example Programs
The following is an example program using
compatible
instruments. The example is written in HP BASIC.
This example is a stimulus and response application. It uses a source
and counter to test a voltage controlled oscillator.
Example Program
Description.
This example demonstrates how several SCPI
instruments work together to perform a stimulus/response
measurement. This program measures the linearity of a voltage
controlled oscillator (VCO). A VCO is a device that outputs a
frequency proportional to an input signal level. Figure
shows
how the hardware is configured.
Unit Under Test
vco
.
Stimulus
Response
Source
Counter
Figure
Voltage Controlled Oscillator Test
Program Listing.
20
!
30
INTEGER First,Last,Testpoint,Dummy
40
DIM
50
ASSIGN @Stimulus TO 717
60
ASSIGN @Response TO 718
70
!
80
90
100 !
110
CLEAR @Stimulus
120
CLEAR @Response
130 !
140
OUTPUT
150
OUTPUT
160 !
170
PRINT "Voltage Controlled Oscillator Test"
180
190 !
200
PRINT "Source Used . . .
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 ...