Serial Ports ActiveX Control provides next methods to control serial port:
|
Method |
Brief Description |
|
Open port |
|
|
Close port |
|
|
Receive data from port |
|
| Send data to port | |
|
Receive string from port |
|
|
Send string to port |
|
|
Receive data from port and store it in VARIANT array |
|
|
Send data stored in VARIANT array to port |
|
|
Discards all characters from the input buffer |
|
|
Serial port initialization string |
|
|
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 |
See also
Serial Port Events Overview, Serial Port Properties Overview