DSRHolding
Retrieves the state of the DSR line.
Not available at Design Time - Read Only at Run-Time
MSComm32 and Comm32 have identical behavior
 |
| |
Syntax |
value = object.DSRHolding |
| |
| |
object |
Name of the communications control. |
| |
value |
A boolean expression indicating the state of the DSR line. |
| |
| |
Example |
|
| |
|
if object.DSRHolding Then
MsgBox ("DSR is On")
Else
MsgBox ("DSR is Off")
End If |
| |
|
|
|
|
 |
Remarks:
When connecting two devices, computers etc via their RS232 ports the DSR on one device is usually connected to the DTR on the other. When a remote device is powered up and ready to communicate it usually sets its DTR line ON which would be detected by AxComm as a change in the state of the DSR line.
For example when two computers are connected as described above, if you change the state of the DTREnable property on one computer that would instantly cause a change in the DSRHolding property on the other. |