EasyManua.ls Logo

HP 8360 L Series - Description; Example Program; Example Programs; Program Listing

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...
Example Programs
The following is an example program using SCPI 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 1-28 shows
how the hardware is configured.
Unit Under Test
Stimulus
Source
O-500mV
r‘
.
vco
.
Response
Counter
HP-18
HP BASIC
Controller
Figure l-28. Voltage Controlled Oscillator Test
Program Listing.
20
!
30
INTEGER First,Last,Testpoint,Dummy
40
DIM
Id$[701
50
ASSIGN @Stimulus TO 717
60
ASSIGN @Response TO 718
70
!
80
First=0
90
Last=100
100
!
110
CLEAR @Stimulus
120
CLEAR @Response
130
!
140
OUTPUT
OStimulus;"*RST"
150
OUTPUT
QResponse;"*RST"
160
!
170
PRINT "Voltage Controlled Oscillator Test"
180
PRINT
190
!
200
PRINT "Source Used .
.."
Getting Started Programming 1-77

Table of Contents

Related product manuals