HP 3314A Operating Manual page 109

Function generator
Hide thumbs Also See for 3314A:
Table of Contents

Advertisement

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
!
!
RAD
707;"PR
"
OUTPUT
707; "RU1 ARZ"
OUTPUT
7071"RW2 ARZ"
OUTPUT
707,"RW3
OUTPUT
ARZ
707
"RW4 ARZ"
OUTPUT
707; "RWS AR
OUTPUT
7071"RW0 ARZ"
OUTPUT
7071"API0VQ"
OUTPUT
I
Initialize var
!
!
Prev_ht-0
Rel_ht-0
*PII100
I
H6T; write it to 3314A
I
V
I
FOR X--S0.1 TO 50
I
1
I
OUTPUT 707;
"VH"
X
NEXT
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.
Recall and Clear reQiaters 1. 2,
and 5
"
4,
2"
Recall and Clear register
Set 3314A to 10Vp-p
Sine argUMent coefficient (nUMber of cycles
H6T of current vector lAbs_ht - Prev_ht)
V
V
Step increMent for independent variable
Start loop -- 100
,Rel_ht ,"EN IV"
sine(x)
x
enough vectora are
for new waveforM
V
HGT values
V
HGT relative to old
H6T on 3314A
V
Prepare for ne
Repeat loop
103
:3.
X
V
H6T calculation

Advertisement

Table of Contents
loading

Table of Contents