Overview Of Rs-232 (Option 1Ax) - Agilent Technologies ESA Series User's/Programmer's Reference

Core spectrum analyzer functions
Hide thumbs Also See for ESA Series:
Table of Contents

Advertisement

Programming Fundamentals

Overview of RS-232 (Option 1AX)

Overview of RS-232 (Option 1AX)
Serial interface programming techniques are similar to most general I/O
applications. Due to the asynchronous nature of serial I/O operations, special care
must be exercised to ensure that data is not lost by sending to another 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 language documentation.
Settings for the Serial Interface
Please refer to the documentation on your computer and I/O to configure the serial
interface. Some common serial interface configuration settings are:
Baud Rate to
Bits per character to
Parity to
Stop bits to
Handshake and Baud Rate
To determine hardware operating parameters, you need to know the answer for
each of the following questions about the peripheral device:
• Which of the following signal and control lines are actively used during
communication with the peripheral?
— Data Set Ready (DSR)
— Clear to Send (CTS)
• What baud rate is expected by the peripheral?
Character Format Parameters
To define the character format, you must know the requirements of the 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.
194
9600
8
Odd or disabled
1
Chapter 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents