Chapter 3
195
Programming Fundamentals
Overview of RS-232 (Option 1AX)
Pr
o
g
ram
m
ing
Fun
dam
e
nta
ls
Modem Line Handshaking
To use modem line handshaking for data transfer you would consider the following
tasks:
1. Set Data Terminal Ready and Request-to-Send modem lines to active state.
2. Check Data Set Ready and Clear-to-Send modem lines to be sure they are
active.
3. Send information to the interface and thence to the peripheral.
4. After data transfer is complete, clear Data Terminal Ready and
Request-to-Send signals.
For ENTER operations:
1. Set Data Terminal Ready line to active state. Leave Request-to-Send inactive.
2. Check Data Set Ready and Data Carrier Detect modem lines to be sure they are
active.
3. Input information from the interface as it is received from the peripheral.
4. After the input operation is complete, clear the Data Terminal Ready signal.
Data Transfer Errors
The serial interface can generate several types of errors when certain conditions are
encountered while receiving data from the peripheral device. Errors can be
generated by any of the following conditions:
•
Parity error. The parity bit on an incoming character does not match the parity
expected by the receiver. This condition is most commonly caused by line
noise.
•
Framing error. Start and stop bits do not match the timing expectations of the
receiver. This can occur when line noise causes the receiver to miss the start bit
or obscures the stop bits.
•
Overrun error. Incoming data buffer overrun caused a loss of one or more data
characters. This is usually caused when data is received by the interface, but no
ENTER statement has been activated to input the information.
•
Break received. A BREAK was sent to the interface by the peripheral device.
The desktop computer program must be able to properly interpret the meaning
of a break and take appropriate action.
Содержание ESA-E E4401B
Страница 4: ...4 ...
Страница 35: ...35 Using This Document 1 Using This Document ...
Страница 38: ...38 Chapter1 Using This Document What is in This Book Using This Document ...
Страница 196: ...196 Chapter3 Programming Fundamentals Overview of RS 232 Option 1AX Programming Fundamentals ...
Страница 393: ...Chapter 6 393 Menu Maps Alpha Editor Menu Menu Maps Alpha Editor Menu ...
Страница 394: ...394 Chapter6 Menu Maps AMPLITUDE Y Scale Menu Menu Maps AMPLITUDE Y Scale Menu ...
Страница 395: ...Chapter 6 395 Menu Maps Amplitude Y Scale Corrections Menu Menu Maps Amplitude Y Scale Corrections Menu ...
Страница 396: ...396 Chapter6 Menu Maps Auto Couple Menu Menu Maps Auto Couple Menu ...
Страница 397: ...Chapter 6 397 Menu Maps BW Avg Menu Menu Maps BW Avg Menu ...
Страница 398: ...398 Chapter6 Menu Maps Det Demod Menu Menu Maps Det Demod Menu ...
Страница 399: ...Chapter 6 399 Menu Maps Display Menu Menu Maps Display Menu ...
Страница 400: ...400 Chapter6 Menu Maps File Menus 1 of 3 Menu Maps File Menus 1 of 3 ...
Страница 401: ...Chapter 6 401 Menu Maps File Menus 2 of 3 Menu Maps File Menus 2 of 3 ...
Страница 402: ...402 Chapter6 Menu Maps File Menus 3 of 3 Menu Maps File Menus 3 of 3 ...
Страница 403: ...Chapter 6 403 Menu Maps Freq Count Marker Menu Menu Maps Freq Count Marker Menu ...
Страница 404: ...404 Chapter6 Menu Maps FREQUENCY Channel Menu Menu Maps FREQUENCY Channel Menu ...
Страница 405: ...Chapter 6 405 Menu Maps Input Output Menu Menu Maps Input Output Menu ...
Страница 406: ...406 Chapter6 Menu Maps Marker Menu Menu Maps Marker Menu ...
Страница 407: ...Chapter 6 407 Menu Maps Marker Menu Menu Maps Marker Menu ...
Страница 408: ...408 Chapter6 Menu Maps Peak Search Menu Menu Maps Peak Search Menu ...
Страница 409: ...Chapter 6 409 Menu Maps Preset Menu Menu Maps Preset Menu ...
Страница 410: ...410 Chapter6 Menu Maps Print Setup Menu Menu Maps Print Setup Menu ...
Страница 411: ...Chapter 6 411 Menu Maps Source Menu Menu Maps Source Menu ...
Страница 412: ...412 Chapter6 Menu Maps SPAN X Scale Menu Menu Maps SPAN X Scale Menu ...
Страница 413: ...Chapter 6 413 Menu Maps Sweep Menu Menu Maps Sweep Menu ...
Страница 414: ...414 Chapter6 Menu Maps System Menu Menu Maps System Menu ...
Страница 415: ...Chapter 6 415 Menu Maps Trace View Menu Menu Maps Trace View Menu ...
Страница 416: ...416 Chapter6 Menu Maps Trig Menu Menu Maps Trig Menu ...
Страница 426: ...426 Index Index Index ...