•
Pin 5 CTS (Clear To Send) is an input to the logic analyzer which controls
data flow from the logic analyzer.
•
Pin 6 DSR (Data Set Ready) is an input to the logic analyzer which
controls data flow from the logic analyzer within two bytes.
•
Pin 8 DCD (Data Carrier Detect) is an input to the logic analyzer which
controls data flow from the logic analyzer within two bytes.
•
Pin 20 DTR (Data Terminal Ready) is an output from the logic analyzer
which is enabled as long as the logic analyzer is turned on.
The TD (Transmit Data) line from the logic analyzer must connect to the RD
(Receive Data) line on the controller. Likewise, the RD line from the logic
analyzer must connect to the TD line on the controller.
The RTS (Request To Send) line is an output from the logic analyzer, and can
be used to control incoming data flow. A high on the RTS line allows the
controller to send data, and a low on this line signals a request for the
controller to disable data transmission.
The CTS (Clear To Send), DSR (Data Set Ready), and DCD (Data Carrier
Detect) lines are inputs to the logic analyzer which control data flow from the
logic analyzer (Pin 2). Internal pull-up resistors in the logic analyzer assure
the DCD and DSR lines remain high when they are not connected.
If DCD or DSR are connected to the controller, the controller must keep
these lines and the CTS line high to enable the logic analyzer to send data to
the controller. A low on any one of these lines will disable the logic analyzer
data transmission. Dropping the CTS line low during data transmission will
stop logic analyzer data transmission immediately. Dropping either the DSR
or DCD line low during data transmission will stop logic analyzer data
transmission, but as many as two additional bytes may be transmitted from
the logic analyzer.
Buffering and Handshaking
Your program needs to account for proper handling of handshaking and
buffering of data between the controller and the logic analyzer. In some
cases, such as some dialects of BASIC, this support is built into the
programming language. In others, such as C, providing these features is the
programmer’s responsibility. There are many third-party data
communications function libraries that provide data communications support
for those languages that do not provide such support directly.
Programming over RS-232-C
Cables
45
Содержание 54620A
Страница 6: ...6 ...
Страница 9: ...1 Introduction to Programming ...
Страница 21: ...2 Programming Getting Started ...
Страница 35: ...3 Programming over HP IB ...
Страница 40: ...40 ...
Страница 41: ...4 Programming over RS 232 C ...
Страница 48: ...48 ...
Страница 49: ...5 Programming and Documentation Conventions ...
Страница 53: ...Programming and Documentation Conventions The command tree 53 ...
Страница 60: ...60 ...
Страница 61: ...6 Status Reporting ...
Страница 63: ...Status Reporting Data Structures Figure 4 Status Reporting 63 ...
Страница 68: ...68 ...
Страница 69: ...7 Installing and Using the Programmer s Reference ...
Страница 76: ...76 ...
Страница 77: ...8 Programmer s Quick Reference ...