 | wclSerialConfig Fields |
The wclSerialConfig type exposes the following members.
Fields| | Name | Description |
|---|
 | AbortOnError |
Specifies whether read and write operations are terminated if an error
occurs. If this member is True, the driver terminates all read
and write operations with an error status if an error occurs. The
driver will not accept any further communications operations until the
application has acknowledged.
|
 | BaudRate |
Specifies the baud at which the communications device operates. This
member can be an actual baud value, or a baud index.
|
 | ByteSize |
The number of bits in the bytes transmitted and received.
|
 | DsrSensitivity |
Specifies whether the communications driver is sensitive to the state
of the DSR signal. If this member is True the driver ignores
any bytes received, unless the DSR modem input line is high.
|
 | DtrControl |
Specifies the DTR (data-terminal-ready) input flow control.
|
 | EofChar |
Specifies the value of the character used to signal the end of data.
|
 | ErrorChar |
Specifies the value of the character used to replace bytes received
with a parity error.
|
 | ErrorCharReplace |
Specifies whether bytes received with parity errors are replaced with
the character specified by the ErrorChar member. If this member
is True and the Parity member is True,
replacement occurs.
|
 | EvtChar |
Specifies the value of the character used to cause the evRxFlag
event.
|
 | InX |
Specifies whether XON/XOFF flow control is used during reception. If
this member is True, the XOFF character is sent when the input
buffer comes within XoffLim bytes of being full, and
the XON character is sent when the input buffer comes within XonLim
bytes of being empty.
|
 | NullStrip |
Specifies whether null bytes are discarded. If this member is
True, null bytes are discarded when received.
|
 | OutX |
Specifies whether XON/XOFF flow control is used during transmission.
If this member is True, transmission stops when the XOFF
character is received and starts again when the XON character is
received.
|
 | OutxCtsFlow |
Specifies whether the CTS (clear-to-send) signal is monitored for
output flow control. If this member is True and CTS is low,
output is suspended until CTS is high again. The CTS signal is under
control of the DCE (usually a modem), the DTE (usually the PC) simply
monitors the status of this signal, the DTE does not change it.
|
 | OutxDsrFlow |
Specifies whether the DSR (data-set-ready) signal is monitored for
output flow control. If this member is True and DSR is low,
output is suspended until DSR is high again. Once again, this signal
is under the control of the DCE; the DTE only monitors this signal.
|
 | Parity |
Specifies the parity scheme to be used.
|
 | ParityCheck |
Specifies whether parity checking is enabled. If this member is
True, parity checking is performed and parity errors are
reported. This should not be confused with the Parity member,
which controls the type of parity used in communications.
|
 | RtsControl |
Specifies the RTS (request-to-send) input flow control.
|
 | StopBits |
Specifies the number of stop bits to be used.
|
 | TxContinueOnXoff |
Specifies whether transmission stops when the input buffer is full and
the driver has transmitted the XOFF character. If this member is
True, transmission continues after the XOFF character has been
sent. If this member is False, transmission does not continue
until the input buffer is within XonLim bytes of being empty and the
driver has transmitted the XON character.
|
 | XoffChar |
Specifies the value of the XOFF character for both transmission and
reception.
|
 | XoffLim |
Specifies the maximum number of bytes allowed in the input buffer
before the XOFF character is sent. The maximum number of bytes allowed
is calculated by subtracting this value from the size, in bytes, of
the input buffer.
|
 | XonChar |
Specifies the value of the XON character for both transmission and
reception.
|
 | XonLim |
Specifies the minimum number of bytes allowed in the input buffer
before the XON character is sent.
|
Top
See Also