Serial Ports ActiveX Control provides next methods to control serial port:
Method |
Brief Description |
Open |
Opens a serial port |
Closes a serial port |
|
Receives data from a serial port |
|
Sends data to a serial port | |
Receives string from a serial port |
|
Sends string to a serial port |
|
Receives data from a serial port and stores it in VARIANT array |
|
Sends data stored in VARIANT array to a serial port |
|
Discards all characters from the input buffer |
|
Sets parameters for a serial port |
|
Causes transmission to act as if an XON character has been received |
|
Causes transmission to act as if an XOFF character has been received |
|
Returns serial port name by its number |
|
PortIsAvailable | Returns information about serial port availability |
SetLatencyExpiry | Sets a period of time in msecs after which OnLatencyExpiry event will occur, if no data was received during this period |
See also