© National Instruments Corporation 5-1 LabWindows/CVI Standard Libraries
Chapter 5RS-232 Library
This chapter describes the functions in the LabWindows/CVI RS-232 Library. The RS-232
Library Function Overview section contains general information about the RS-232 Library
functions and panels. The RS-232 Library Function Reference section contains an alphabetical
list of function descriptions.
In order to use the RS-232 Library on UNIX, your UNIX kernel must support asynchronous I/O
functions (for example, aioread and aiowrite). You can enable this by building your
UNIX kernel as Generic instead of Generic Small.

RS-232 Library Function Overview

This section contains general information about the RS-232 Library functions and panels. The
RS-232 Library can also be used with a National Instruments RS-485 serial board.

The RS-232 Library Function Panels

The RS-232 Library function panels are grouped in a tree structure according to the types of
operations performed. The RS-232 Library function tree appears in Table 5-1.
The first- and second-level bold headings in the tree are the names of function classes and
subclasses. Function classes and subclasses are groups of related function panels. The third-
level headings in plain text are the names of individual function panels. Each RS-232 function
panel generates one or more RS-232 function calls. The names of functions are in bold italics to
the right of the function panel name.
Table 5-1. The RS-232 Library Function Tree
RS-232
Open/Close
Open COM and Configure OpenComConfig
Close COM CloseCom
Open COM—Current State OpenCom
Input/Output
Read Buffer ComRd
Read Terminated Buffer ComRdTerm
Read Byte ComRdByte
(continues)