Serial port

Represents a serial communication channel, configurable according to the protocol used by the controller, to create request/response-type or event-type protocols.
BrowseName
SerialPort
SuperType
Object(BaseObjectType)

Properties

Name
BrowseName
DataType
Description
Port name
PortName
Number of the COM serial port to use for the Bridging service on which the modem is connected.
Baudrate
Baudrate
Serial communication speed (Baud Rate). The communication speed value should be set to match that of the device with which you intend to communicate.
Data size
DataSize
Number of bytes required by the communication protocol concerned.
Parity
Parity
Parity type required by the communication protocol concerned.
Stop bits
StopBits
Number of Stop bits required by the communication protocol concerned.
Flow control
FlowControl
Data flow control type for the communication type used. In particular, it makes it possible to adapt the communication according to the needs required at low level by the serial port of the connected device. By default, the driver sets None, that is, no flow control; however, depending on the device, it may be necessary to select a type of Flow Control (for example, in the event of an error message with code 1). The possible selections are: None: No flow control. The control is not required by the protocol. Hardware: The Flow control is managed by the serial line electrical signals (for example, RTS, CTS, and so on). XON/XOFF: the data flow control is XON/XOFF.
Timeout
Timeout
Maximum wait time in milliseconds to receive a response from the controller.
Low latency
LowLatency
If enabled, minimizes the receive latency of an FTDI serial device.
Communication status
CommunicationStatus

Methods

Open
BrowseName
Open
Close
BrowseName
Close
Read
BrowseName
Read
InputArguments
Name
DataType
Description
Count
Byte number
OutputArguments
Name
DataType
Description
Buffer
Buffer
Read
BrowseName
ReadUntil
InputArguments
Name
DataType
Description
Delimiter
Delimiter
OutputArguments
Name
DataType
Description
Buffer
Buffer
Write
BrowseName
Write
InputArguments
Name
DataType
Description
Buffer
Buffer
Cancel read
BrowseName
CancelRead
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal