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

DTREnable

Sets or Retrieves the state of the DTR control line.

Available at Design time and Runtime.

MSComm32 and Comm32 have Identical Behavior.

         Syntax object.DTREnable = value
     
  object Name of the communications control.
  value A boolean expression indicating the state of the RTS control line.
     
  Examples  
    object.DTREnable = True '// Set the value
       
   

If object.DTREnable = True then
      MsgBox("DTREnable is On")
   Else
      MsgBox(DTREnable is Off")
End If

'// Retrieves the current state of the
'// DTR control line.
       

Remarks:

If set before the port is opened then this value takes effect as soon as the port is opened. For example if DTREnable is set to True then the DTR line will come ON as soon as the port is opened. It will go off again as soon as the port is closed.

 

 

 

 

Copyright (c) 2010 Axis Controls Ltd