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

RxTimeout

Sets a receive timeout.

Available at design time and runtime. Can not be changed while the port is open.

Only available with Comm64. Not available with MSComm32

         Syntax object.RxTimeout = value
     
  object Name of the communications control.
     
  value A numerical value in the range 0 to 32000 Measured in ms (1000 = 1 seconds)
     
  Example object.RxTimeout = 500 '// Set the RxTimeouts to 500ms
       
       

Remarks:

If RxTimeout is 0 (zero) then all Input/Read properties/functions return immediately with the required number of chars/bytes (or less if less were waiting in the receive buffer)

If RxTimeout is greater than zero then Input/Read functions will not return until the required number of bytes have been received or when RxTimeout occurs.

If using RxTimeouts we would suggest using a very small timeout value and repeating the Input/Read function until you have the required number of bytes.

 
Copyright (c) 2010 Axis Controls Ltd