Overview Of; Handshake And Baud Rate 1-1; Character Format Parameters - Agilent Technologies ESA-E Series Programmer's Manual

Esa spectrum analyzers
Hide thumbs Also See for ESA-E Series:
Table of Contents

Advertisement

Programming Fundamental s
Overview of RS-232
Overview of RS-232
Serial interface programming techniques are similar to most genera l
I/O applications .
Due to the asynchronous nature of serial I/O operations, special car e
must be exercised to ensure that data is not lost by sending to anothe r
device before the device is ready to receive . Modem line handshaking
can he used to help solve this problem . These and other topics are
discussed in greater detail in your programming languag e
documentation .
Settings for the Serial Interface
Please refer to the documentation on your computer and I/O t o
configure the serial bus. Some common serial interface configuratio n
settings are:
Baud Rate to
960 0
Bits per character to
8
Parity to
Odd or disabled
Stop bits to
1
Handshake and Baud Rate
To determine hardware operating parameters, you need to know th e
answer for each of the following questions about the peripheral device :
• Which of the following signal and control lines are actively use d
during communication with the peripheral?
- Data Set Ready (DSR)
-
Clear to Send (CTS )
• What baud rate is expected by the peripheral ?
Character Format Parameter s
To define the character format, you must know the requirements of th e
peripheral device for the following parameters :
• Character Length : Eight data bits are used for each character,
excluding start, stop, and parity bits.
• Parity Enable : Parity is disabled (absent) for each character .
• Stop Bits : One stop bit is included with each character .
1-12
Chapter 1

Advertisement

Table of Contents
loading

Table of Contents