![Agilent Technologies E1330B User'S Manual And Scpi Programming Manual Download Page 56](http://html.mh-extra.com/html/agilent-technologies/e1330b/e1330b_users-manual-and-scpi-programming-manual_2867439056.webp)
54 Understanding the Agilent E1330B Digital I/O Module
Chapter 4
Multiple port handshaking has the following two abnormalities regarding
the CTL and FLG control lines:
•
Input or Output handshaking using the CTL line. The CTL line is
set TRUE or FALSE sequentially on all ports involved in the
operation, from the lowest numbered port to the highest numbered
port. A slight time delay exists between each port setting the CTL line
TRUE or FALSE. When using handshaking on multiple port
operations, use the highest numbered port CTL line to ensure correct
data transfer.
•
Input or Output handshaking using the FLG line. A change in the
state of any FLG line on any combined port continues the handshake
operation for all the combined ports. FLG lines can also be electrically
combined through a jumper setting (see Chapter 2).
Multiple Port
Input/Output
Data input is performed using commands in the SCPI
MEASure:DIGital:DATA
n subsystem. Data output is performed using the
commands in SCPI
[SOURce:]DIGital:DATA
n subsystem.
The returned value of an input, or the TTL levels of an output, will depend
upon the POLarity programmed.
Both Input and Output operations will attempt to complete the handshake
mode set and may "hang" if required handshake operations are not
completed.
The sections “Byte Input” and “Byte Output”, earlier in this chapter,
describe operations that also apply to multiple port commands. The values
used for input and output operations depend upon the
[:type]
used in the
command. Values for multiple port output operations are given below.
Table 4-1 shows allowable port combinations for each value of
[:type]
.
You can combine multiple port operations on the same Digital I/O module.
For example, you could define two independent 16-bit ports at port 0 and
port 2.
Input Operations
Output Operations
Format
Range
Format
Range
BYTE
Decimal
0 to 255
Decimal
#H
#Q
#B
-128 to 255
00 to FF
000 to 377
8-bits
WORD
Decimal
-32768
to
32767
Decimal
#H
#Q
#B
-32768 to 32767
0000 to FFFF
00000 to 177777
16-bits
LWORd
Decimal
-2147483648
to
2147483647
Decimal
#H
#Q
#B
-2147483648 to 2147483647
00000000 to FFFFFFFF
0 to 37777777777
32-bits
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 ...