Example Program Z: Triggering Techniques - HP 3456A Operating And Service Manual

Digital voltmeter
Hide thumbs Also See for 3456A:
Table of Contents

Advertisement

Appendix D
line 4: The program is terminated.
The REMOTE annunciator on the 3456A should go on
when the clear statement is executed. The TALK annun­
as
ciator should go on
the information is sent out from
the 3456A. It will remain on until the 3456A is told to
perform a different operation.
Program
Variation:
1
This program can be modified to take an AC + DC
voltage measurement. To do this, Line 0 should be
changed to:
wrt 722, "F3"
Changing a program line: Press
then press
Line 0 should be in the display.
(EXECUTE).
Press
(CLEAR),
type in the new line, and press
(STORE).
Now press
and then
(LIST)
prints out the stored program. At the end of the pro­
gram is the "checksum," a unique number for each pro­
gram. A change of just one program character will yield
a different checksum. For this program variation, the
checksum should be ·2917. If not, check for typing er­
rors.
1 :
0 :
w r t
7 2 2 , " F 3 "
4
r e d
7 2 2 , 1,1
3 :
d s p
" \l o l t tl "'::l E'
2 :
f x d
4 :
e n d
* 2 9 1 7
Figure 3. Example Program 1 b.

Example Program Z: Triggering Techniques

There are 4 methods of triggering the 3456A. Three of
these can be implemented from the desktop computer
directly. External triggering involves use of another in­
strument, for example, the HP-3497A Data Acquisi­
tion! Control Unit. The first method described uses the
3456A's internal triggering capability to loa�t two
groups of 10 readings each into the computer. Enter
program lines in Figure 4.
Rev A
0-4
enter
and
(FETCH),
O.
The computer
(EXECUTE).
i s : " , \I
0 :
I,Ht
d i ro A [ 1 0 J , 8 [ 1 0 J
1 :
7 2 2 , " H S 1 F 2 "
, ' x d 5
d s p
" 3 4 5 6 A T tl k i n "'::l
4 :
f o ,· J = 1
to,
5 :
1 0
r e d 7 2 2 , A [ .J J
J
6 :
d s p A [ .J J
8 :
7 :
I,H�·
n e x t
9 :
f o r J = l
t o
7 2 2 , " S O F 1 "
1 0
1 0 :
r e d 7 2 2 , B [ J ]
.J
1 1 :
d s p B [ J J
1 2 :
n e x t
· d 9 2 1 6
1 3 :
e n d
Figure 4. Example Program 2.
Program Z Explanation:
Line 0: Two arrays are dimensioned to hold
readings each.
Line
The 3456A is set to internal trigger mode by
I :
returning it to its "turn-on" state or home
position, "H". The shift function and function
2 are enabled (SI F2), thus setting the 3456A to
read AC/OC voltage ratio. For a complete list
of 3456A Program Codes, see the last page of
this guide.
Line 2: The computer displays the text in Quotes.
Line 3 : The computer fixes its numerical display to 5
places to the right of the decimal.
Line 4: A
count loop is set up.
ID
Line 5 : The computer reads in the data from the meter
and stores it in array A.
Line 6: The computer displays the data.
Line 7: The loop is performed again.
Line 8: The 3456A is set for DC voltage readings. The
shift function must be turned off as well as
changing to function 1 .
Lines 9-12: Similar to Lines 4-7. The computer reads in
and displays the data.
Model 3456A
o
Dtl t o. "
10
o
o

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents