EasyManuals Logo

HP 3314A Operating Manual

HP 3314A
114 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
Page #109 background imageLoading...
Page #109 background image
The
following
example demonstrates the adaptability of
the
previous program. Modified
as
shown,
it calculates vector parameters
for
and builds Waveform
57
in the WAVEFORM
LIBRARY
defined
by
the
equation
sine(x)
x
Calculate
new V
HGT
relative
to
old
PrograM new V
H6T
on 3314A
Prepare
for
ne
xt
V
H6T
calculation
Repeat
loop
Start
loop
--
100 V
HGT
values
Sine
argUMent
coefficient
(nUMber
of
cycles
)
Abaolute
height
of
current
vector
head
Absolute
height
of
previous
vector
head
V
H6T
of
current
vector
lAbs_ht
-
Prev_ht)
Scales
V H6Ts to 3314A
AMPTD
setting
Step
increMent
for
independent
variable
X
Recall
and
Clear
register
0
Set
3314A
to
10Vp-p
Recall
and
Clear
reQiaters
1.
2,
:3.
4,
and 5
50
enough
vectora
are
a
vailable
for
new waveforM
E
xpreas
angles
aa
radians
Preset
3314A
707;"PR
"
707;
"RU1
ARZ"
7071"RW2
ARZ"
707,"RW3
ARZ
"
707 I
"RW4
ARZ"
707;
"RWS
AR
2"
7071"RW0
ARZ"
7071"API0VQ"
!
Initialize
COMputer and 3314A
!
RAD
OUTPUT
OUTPUT
OUTPUT
OUTPUT
OUTPUT
OUTPUT
OUTPUT
OUTPUT
I
!
Initialize
var
iable,
!
Cycles-5
Ab::l_
hto:0
Prev_ht-0
Rel_ht-0
Scale_factor-1300
Delta-2
*PII100
I
I
Calculate
V H6T;
write
it
to
3314A
I
FOR
X--S0.1
TO
50
I
1
Calculate
absolute
height
Aba_ht-Scale_factor*«SINlX*Oelta*Cyclea»/(X*Oelta*Cyclea»
I
Rel_ht-Abs_ht-Prev_ht
OUTPUT
707;
"VH"
,Rel_ht
,"EN IV"
Prev_htaAbs_ht
NEXT
X
I
END
As
you
adapt
these
examples, be
aware
of variations:
-
The
number
of
vectors
used is arbitrary. A larger
number
improves
resolution. The
number
of
vectors
is used
to
determine
"Delta"
and
count
the
number
of
loops.
Adjust
the
loop counter range as needed
to
avoid division by zero as in
the
sine(xl/x
example.
-
Modify
"Scale_factor"
so
waveform
amplitude
fits
in the
3314A
AMPTD
setting.
-
After
generating a
waveform,
you
may
need
to
adjust V HGTs
at
the
waveform
endpoints and PHASE to improve closure.
You
can
modify
FREQ, AMPTD, and OFF-
SET
to
change
other
characteristics.
103

Table of Contents

Other manuals for HP 3314A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 3314A and is the answer not in the manual?

HP 3314A Specifications

General IconGeneral
BrandHP
Model3314A
CategoryPortable Generator
LanguageEnglish

Related product manuals