RTSEnable
Sets or Retrieves the state of the RTS control line.
Available at Design time and Runtime.
MSComm32 and Comm64 have similar behavior
 |
| |
Syntax |
object.RTSEnable = value |
| |
|
|
| |
object |
Name of the communications control. |
| |
value |
A boolean expression indicating the state of the RTS control line. |
| |
|
|
| |
Examples |
|
| |
|
object.RTSEnable = True |
'// Set the value |
| |
|
|
|
| |
|
If object.RTSEnable = True then
MessageBox.Show ("RTSEnable is On")
Else
MessageBox.Show (RTSEnable is Off")
End If |
|
| |
|
|
|
|
 |
Remarks:
If set before the port is opened then this value takes effect as soon as the port is opened. For example if RTSEnable is set to True then the RTS line will come ON as soon as the port is opened. It will go off again as soon as the port is closed.
This property can not be changed (Will be automatically enabled) if RTS/CTS flow control is enabled. |