SComm64 Communications DLL.

   




DSRHolding

Retrieves the state of the DSR liine.

Read Only at runtime.

MSComm32 and SComm64 have the same syntax and functionality
 

Syntax:-

value = SComm64.DSRHolding
 

value:- A Boolean Expression indicating the current state of the DSR line.
 
Example:-

If SComm1.DSRHolding = True Then
   MessageBox.Show("DSR is On")
Else
   MessageBox.Show("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 the remote device as a change in the state of its DSR line.