cdholding image

comm32 home
comm32 forum
buy comm32

Introduction
Install SComm32
Why Not MsComm?

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

OnComm Event
Hardware/Cables etc

RThreshold

Sets or Retrieves the number of bytes which must arrive in the receive buffer before an OnComm event is raised.

Enable or Disable evReceive OnComm events.

Available at design time and runtime.

         Syntax object.RThreshold = value
     
  object Name of the communications control.
  value A numeric expression indicating the RThreshold number of bytes
     
  Examples object.RThreshold = 0 '// OnComm events will not be raised
'// when data is received
       
    object.RThreshold = 1 '// an OnComm event will be raised when
'// 1 or more characters are received in the
'// receive buffer
       
    Text1.Text = object.RThreshold '// Retrieves the current value
       

Remarks:

If this value is zero then no OnComm evReceive events will be triggered. If set to a value larger than zero then the control will raise an OnComm (evReceive) event when that number of bytes, or more, are in the receive buffer

Note. If evReceive OnComm events are disabled (By setting this property to zero) you will still get other communications events such as events to report changes in the status of hardware control lines or communications errors.

.

 

 
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