cdholding image

comm64 home
comm64 download
comm64 forum
buy comm64

Introduction
Install Comm64
Why Not MsComm?

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


Comm64 Properties
   .RxTimeout
   .TxTimeout

Comm64 Functions
   .readBytes
   .readString

   .writeBytes
   .writeString
   .PortExists

OnComm Event

Hardware/Cables etc
Loopback test plug

CTSHolding

Retrieves the state of the CTS line.

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

MSComm32 and Comm64 have the same 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
      MessageBox.Show ("CTS is On")
   Else
      MessageBox.Show ("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.

 
Copyright (c) 2010 Axis Controls Ltd