Click or drag to resize

SerialPortConfig Class

Container for serial port configuration parameters.
Inheritance Hierarchy
SystemObject
  RAYLASE.SPICE3ConfigBase
    RAYLASE.SPICE3SerialPortConfig

Namespace: RAYLASE.SPICE3
Assembly: RAYLASE.SPICE3 (in RAYLASE.SPICE3.dll) Version: 3.5.2
Syntax
C#
public class SerialPortConfig : ConfigBase

The SerialPortConfig type exposes the following members.

Constructors
 NameDescription
Public methodSerialPortConfig Creates a new instance of this configuration initialized with default values.
Top
Properties
 NameDescription
Public propertyBaudRate Line speed of the serial port.
Public propertyDataBits Number of data bits used in the serial port protocol.
Public propertyEnabled Whether the serial port is enabled
Public propertyHandshake Flow control method used in the serial port protocol.
Public propertyNewLine The message terminator sequence used for line-oriented text messages when reading from or writing to the serial port.

Note that it is only applied automatically to messages sent using the following commands and methods:

Public propertyParity Parity setting of the serial port.
Public propertyReadTimeout Timeout period in ms used when reading from the serial port.
Public propertyStopBits Number of stop bits used in the serial port protocol.
Public propertyWriteTimeout Timeout period in ms used when writing to the serial port.
Top
Methods
 NameDescription
Public methodStatic memberLoad Loads a new configuration instance from the specified file.
Public methodSave Saves the configuration to the specified file. If the specified file exists, this method overwrites it.
Top
See Also