![Agilent Technologies E1330B User'S Manual And Scpi Programming Manual Download Page 36](http://html.mh-extra.com/html/agilent-technologies/e1330b/e1330b_users-manual-and-scpi-programming-manual_2867439036.webp)
34
Using the Agilent E1330B Digital I/O Module
Chapter 3
Setting the Handshake Mode
Handshaking ensures correct transfer of data between devices. You must set
both the mode and the timing to establish correct handshaking. Most
handshake modes use the FLG and CTL lines to control the data transfer.
SCPI commands support the following modes of handshaking:
-- LEADing Edge
-- TRAiling Edge
-- PULSe
-- PARTial
-- STRobe
-- NONE
These SCPI commands set the type of handshake mode used:
[SOURce:]DIGital:DATA
n
[:type]:HANDshake[:MODE] <
mode
>
[SOURce:]DIGital:HANDshake
n
[:MODE] <
mode
>
Handshake Timing
Some handshake modes require that a timing value be set.Primarily, the
timing applies to only output functions (the exception is STRobe Input
handshaking mode). These SCPI commands set the timing of the handshake
(where timing applies):
[SOURce:]DIGital:DATA
n
[:type]:HANDshake:DELay
<
time
>
[SOURce:]DIGital:HANDshake
n
DELay
<
time
>
Example
10
ASSIGN @Dio TO 70918
20
DIM Hand$ [4]
30
Hand$ = "LEAD"
40
Delay = 0.015
50
OUTPUT @Dio;"DIG:DATA0:BYTE:HAND
"&Hand$
60
OUTPUT@Dio;"DIG:DATA0:BYTE:HAND:DEL
";Delay
70
END
Sets the 8-bit port 0 handshake mode to the LEADing Edge handshake mode
and sets the output timing handshake delay to 0.015 seconds.
Detailed descriptions of the handshake modes, timing diagrams, and the use
of the FLG and CTL lines are given in Chapter 4 —“Understanding the
Agilent E1330B Digital I/O Module”.
Summary of Contents for E1330B
Page 2: ......
Page 10: ...8 Notes ...
Page 11: ...9 Notes ...
Page 12: ...10 Notes ...
Page 32: ...30 Configuring the Agilent E1330B Digital I O Chapter 2 Notes ...
Page 42: ...40 Using the Agilent E1330B Digital I O Module Chapter 3 Notes ...
Page 58: ...56 Understanding the Agilent E1330B Digital I O Module Chapter 4 Notes ...
Page 104: ...102 Agilent E1330B Digital I O Module Command Reference Chapter 5 Notes ...