cdholding image

comm32 home
comm32 forum
buy comm32

Introduction
Install Comm32
Why Not MsComm?

Properties
   .Break
   .CDHolding
   .CommEvent
   .CommPort
   .CTSHolding
   .DSRHolding
   .DTREnable
   .EOFEnable
   .Handshaking
   .InBufferCount
   .InBufferSize
   .Input
   .InputLen
   .InputMode
   .NullDiscard
   .OutBufferCount
   .OutBufferSize
   .OutPut
   .ParityReplace
   .PortOpen
   .RThreshold
   .RTSEnable
   .Settings
   .STHreshold


Comm32 Properties
   .DeviceName
   .EOFChar
   .EvtChar
   .EvtCharEnable
   .OutPutEx
   .OutPutMode
   .ParallelEnable
   .TxTimeout

Comm32 Functions
   .getByte

   .GetPortStatus
   .InstalledDrivers
   .putByte
   .PortExists
   .ReadBytes
   .ReadString
   .WriteBytes
   .WriteString

OnComm Event
Hardware/Cables etc

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.

 

 

Copyright (c) 2010 Axis Controls Ltd