Click or drag to resize

wclSerialConfig Fields

The wclSerialConfig type exposes the following members.

Fields
 NameDescription
Public fieldAbortOnError 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.
Public fieldBaudRate Specifies the baud at which the communications device operates. This member can be an actual baud value, or a baud index.
Public fieldByteSize The number of bits in the bytes transmitted and received.
Public fieldDsrSensitivity 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.
Public fieldDtrControl Specifies the DTR (data-terminal-ready) input flow control.
Public fieldEofChar Specifies the value of the character used to signal the end of data.
Public fieldErrorChar Specifies the value of the character used to replace bytes received with a parity error.
Public fieldErrorCharReplace 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.
Public fieldEvtChar Specifies the value of the character used to cause the evRxFlag event.
Public fieldInX 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.
Public fieldNullStrip Specifies whether null bytes are discarded. If this member is True, null bytes are discarded when received.
Public fieldOutX 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.
Public fieldOutxCtsFlow 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.
Public fieldOutxDsrFlow 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.
Public fieldParity Specifies the parity scheme to be used.
Public fieldParityCheck 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.
Public fieldRtsControl Specifies the RTS (request-to-send) input flow control.
Public fieldStopBits Specifies the number of stop bits to be used.
Public fieldTxContinueOnXoff 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.
Public fieldXoffChar Specifies the value of the XOFF character for both transmission and reception.
Public fieldXoffLim 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.
Public fieldXonChar Specifies the value of the XON character for both transmission and reception.
Public fieldXonLim Specifies the minimum number of bytes allowed in the input buffer before the XON character is sent.
Top
See Also