HP 59313A Operating And Service Manual page 32

Analog to digital converter
Table of Contents

Advertisement

Sect ion III - Operat i on
a
nd
P
rogramming
M
odel 59313Α
(2)
NE GATIVE . If α conversion has not been co mpleted a n d the SRQ line
h
as not bee n set
L
O by the
59313Α (o r
t
he SRQ cir cuitry has not been
e
nab led) prior to the Se ri a l P oll Enab le co mm and, then, when made
t he
T
ALKER, the decim al numbe r zero would be the o utpu t. Once the Se rial Poll Disab le comm and is se n t, t he
59313Α
o
utput
i
s again α normal Α to D conversion
o
utpu t .
NOTE : Th e poll response outpu t is j ust 1 byte of ordinary binary code .
3-37 .
P rogrammi ng
E
xamples.
3-38 .
Se nd co n t r ol characters to t he 59313Α in α logica l se qu ence .
F
or example, do n ot se nd the UNLISTEN
comm and immed iately afte r se ndi ng the
l
iste n address, or do not start the co nversio n until the desired channel
and pace have been se lected, or do not se nd RE SET afte r any of the control char acters sin ce it will ca nce l t h em
all.
3-39 .
GENERAL LOO P PROG RAM FORMAT . Th e program ty pe with the least chance for err or pu ts the
contro ll er into α loop that ta kes one sa mple with each repetiti on . Th is kind of pr ogram is use ful for setting the
ZERO an d GA IN contro l s disc u ssed later. Th e ge neral format
i
s:
Se nd UNLISTEN co mm and
Se n d 59313Α l isten address
I
t may be necessa ry to se nd co ntroll er tal k add r ess. (See Controller manu als .)
RE SET characte r.
(o r so me ot her) CHANNEL
S
ELECT characte r .
ONE CO NVER SION ONL Y pace select character.
START character (t im e betwee n Μ
1
and
Se n d
Se n d
Se n d
Se nd
Se nd 59313Α talk add ress
I
t may be necessary to send co ntroll er li sten address .
Read an d Store 1st byte
f
ro m the HP-113 .
Read and Store 2nd byte fr om the HP-113 .
Co mbine 1st an d 2 n d byte as shown in Paragra ph 3-33 .
Di splay t he com b in ed byte as α dec ima l number .
Repeat entir e loop.
σ
Α
σ
σ
σ
(10)
(11)
(12)
(13)
(14)
Th is ge neral program loop will co ntinuously displ ay t h e 59313 Α
o
utpu t for Channel
mu st be 100 μs minimum) .

Advertisement

Table of Contents
loading

Table of Contents