cdholding image

comm32 home
comm32 download
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

OnComm Event
Hardware/Cables etc

CTSHolding

Retrieves the state of the CTS line.

Not available at Design Time - Read Only at Run-Time

MSComm32 and Comm32 have identical behavior

         Syntax value = object.CTSHolding
 
  object Name of the communications control.
  value A boolean expression indicating the state of the CTS line.
 
  Example  
    if object.CTSHolding Then
      MsgBox ("CTS is On")
   Else
      MsgBox ("CTS is Off")
End If
 
       

Remarks:

CTS is used by the Com port for RTS/CTS flow control. You can usually ignore this property if you have enabled RTS/CTS handshaking / flow control.

When connecting two computers via their RS232 ports the CTS pin of one device is connected to the RTS pin of the other computer. Assuming Handshaking is not being used then setting the RTSEnable property on one computer would instantly cause a change in the CTSHolding property on the other computer.

If you decided to implement some level of flow control within your application you can monitor the state of this property. When this property is True it indicates that the remote device is ready and you are 'Clear To Send'. You would stop sending when this property goes False.

 

 
32bit development in VB6 using the Comm32 Communications OCX ?

Or are you looking for a proper .Net Component ?

Carry on using most of the common and well documented MSComm32 syntax but with a proper .net component allowing you to build x86, x64 and AnyCPU projects using Visual Studio 2005, 2008 and 2010.

www.Comm64.com
The x86, x64 and AnyCPU
Serial component

 

 

Copyright (c) 2010 Axis Controls Ltd