Name
GetDataBits -- get data bits for serial port connection (V8.0)
Synopsis
bits = GetDataBits(id)
Function
This command can be used to get the number of data bits for the serial port connection specified in id. This serial port connection must have been opened using OpenSerialPort() before.

The return value will be one of the following special constants:

#DATA_5:
Use 5 data bits.
#DATA_6:
Use 6 data bits.
#DATA_7:
Use 7 data bits.
#DATE_8:
Use 8 data bits.

Inputs
id
identifier of the serial port connection to use
Results
bits
current data bits as a special constant (see above)

Show TOC