Serial Port ActiveX Control provides the following properties:
Line signal:
| Property | Brief Description |
| DTR | Set the status of the DTR signal |
| RTS | Set the status of the RTS signal |
| CTS | Get status of the CTS signal |
| DSR | Get status of the DSR signal |
| RING | Get status of the RING signal |
| DCD | Get status of the DCD signal |
Line control:
| Property | Brief Description |
| Databits | Set/Get the number of bits in the bytes transmitted and received. |
| Parity | Get/Set parity checking |
| StopBits | Get the number of stop bits per character |
HandFlow control:
| Property | Brief Description |
| HandShake | Get/set flags that defines the modem lines that are used for flow control |
| FlowReplace | Get/set flags defining flow control stuff |
| XOnLimit | Get/set minimum number of bytes allowed in the input buffer before flow control is activated to inhibit the sender |
| XOffLimit | Get/set maximum number of bytes allowed in the input buffer before flow control is activated to allow transmission by the sender |
Given serial port information:
| Property | Brief Description |
| FullDeviceName | Get full port name |
| MaxBaud | Get maximum allowed baudrate value |
| MaxOutQueue | Get maximum size of the driver's internal output buffer |
| MaxInQueue | Get maximum size of the driver's internal input buffer |
| ProvSubType | Get the type of the communications provider |
| ProvCapabilities | Get details on capabilities offered by the communications provider |
| SettableParams | Get details on communications parameter that can be changed |
| SettableData | Get number of data bits that can be set |
| SettableStopParity | Get stop bits and parity settings that can be selected |
Special chars:
| Property | Brief Description |
| CharEof | Get/Set the character used to signal the end of data |
| CharError | Get/Set the character used to replace bytes received with a parity error |
| CharBreak | Get/Set the character used to signal break event |
| CharEvent | Get/Set the character used to signal an event |
| CharXOn | Get/Set the XON character for both transmission and reception |
| CharXOff | Get/Set the XOFF character for both transmission and reception |
Timeouts of serial port:
| Property | Brief Description |
| TimeoutReadInterval | Get/Set maximum time allowed to elapse between the arrival of two characters on the communications line, in milliseconds. |
| TimeoutReadTotalMultiplier | Multiplier used to calculate the total time-out period for read operations, in milliseconds. For each read operation, this value is multiplied by the requested number of bytes to be read. |
| TimeoutReadTotalConstant | Constant used to calculate the total time-out period for read operations, in milliseconds. For each read operation, this value is added to the product of the ReadTotalTimeoutMultiplier member and the requested number of bytes. |
| TimeoutWriteTotalMultiplier | Multiplier used to calculate the total time-out period for write operations, in milliseconds. For each write operation, this value is multiplied by the number of bytes to be written. |
| TimeoutWriteTotalConstant | Constant used to calculate the total time-out period for write operations, in milliseconds. For each write operation, this value is added to the product of the WriteTotalTimeoutMultiplier member and the number of bytes to be written. |
| Property | Brief Description |
| MonitorEvents | Get/Set events to be monitored for the communications device |
| InCount | Get the current number of bytes in the input buffer |
| OutCount | Get the current number of bytes in the output buffer |
| BaudRate | Baud rate at which the communications device operates |
| Handle | Controls behaviour of serial port when your application exits |
| IsOpened | Get the state of serial port |
| InBufferSize | Get/set the recommended size of the device's internal input buffer, in bytes |
| OutBufferSize | Get/set the recommended size of the device's internal output buffer, in bytes |
| Break | Set break signal |
Other:
| Property | Brief Description |
| CountPorts | Get the number of communication ports in a system |
| BlockMode | Get/set BlockMode mode |
See also