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

NullDiscard

Indicates whether the com port will discard received Null characters

Available at design time and runtime.

MSComm32 and Comm32 have identical behavior

         Syntax object.NullDiscard = value
     
  object Name of the communications control.
  value A Boolean expression (Default is False)
     
  Examples  
    object.NullDiscard = True '// Set the value
       
   

If object.NullDiscard = True then
      MsgBox("NullDiscard is enabled")
  Else
      MsgBox("NullDiscard is disabled")
End If

'// retrieve the current setting
       

Remarks:

If enabled then Null characters received by the hardware are simply ignored ie not entered into the receive buffer.

 

 

Copyright (c) 2010 Axis Controls Ltd