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

EOFEnable

Sets or Retrieves the property indicating whether an OnComm event is generated when the EOF control code is detected in the receive buffer.

See the EOFChar property for a more detailed description of this property

Available at Design time and Runtime.

MSComm32 and Comm32 have identical behaviour (See remarks below)

         Syntax object.EOFEnable = value
     
  object Name of the communications control.
  value A boolean expression. Default is False
     
  Examples  
    object.EOFEnable = True '// Set the value
       
   

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

'// Retrieves the value
       

Remarks:

If enabled this property will cause an OnComm event to be triggered when the EOF control character (Ascii 26) is read by the Input property.

 

 

Copyright (c) 2010 Axis Controls Ltd