Handshaking
Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide
13
Optionally, you can provide an
external
strobe input on the H2 line to
control the memory transfers. If you pace the memory inputs from an
external clock, the 34950A will sense the leading edge of the strobe and
set the data. The data will be valid after T
PD
and the receiving device may
latch the data. T
PD
ranges from 82 ns to 47 ns.
A synchronous buffered output using an external clock is shown in the
diagram below (default handshake line polarity).
For example, using the
internal
strobe, the following SCPI commands set
a 34950A in slot 5 to have a 32- bit output using synchronous handshake.
The number of times to output the traces is set to 4. A trace is then
loaded into memory and assigned to the channel. The memory is enabled
and then triggered. The start/stop line is set high following the first byte
handshake and remains high until the last byte is output.
CONF:DIG:WIDT LWOR, (@5101)
CONF:DIG:DIR OUTP, (@5101)
CONF:DIG:HAND SYNC, (@5101)
SOUR:DIG:MEM:NCYC 4, (@5101)
TRAC:DATA:DIG:LWOR (@5101), mytrace, #hFFEEFFEE, #hBCBC9999
SOUR:DIG:MEM:TRAC mytrace,(@5101)
SOUR:DIG:MEM:ENAB ON, (@5101)
SOUR:DIG:MEM:STAR (@5101)
Using an
external
strobe, the following SCPI commands set a 34950A in
slot 5 to have an 8- bit output using synchronous handshake with an
external strobe input. The number of times to output the traces is set to
infinite (continuous output until the memory is stopped). The memory is
enabled and then triggered. The start/stop line is set high following the
first byte handshake and remains high until the last byte is output.
CONF:DIG:WIDT BYTE, (@5101)
CONF:DIG:DIR OUTP, (@5101)
CONF:DIG:HAND SYNC, (@5101)
CONF:DIG:HAND:SYNC:STR:SOUR EXT, (@5101)
SOUR:DIG:MEM:NCYC 0, (@5101)
TRAC:DATA:DIG:BYTE (@5101), mytrace, 260, 139
SOUR:DIG:MEM:TRAC mytrace,(@5101)
SOUR:DIG:MEM:ENAB ON, (@5101)
SOUR:DIG:MEM:STAR (@5101)
H0 (Start
/
Sto
p
)
H
2
(
Cl
oc
k
In)
Data
Ou
t
Valid
T
CYC LE
(
La
s
t C
yc
le
)
I
n
v
alid
T
PD
T
PD
T
PD