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

ParityReplace

Sets or Retrieves the character that will be used to replace bytes which have failed a parity check.

Available at design time and runtime.

MSComm32 and Comm32 have identical behavior

         Syntax object.ParityReplace = value
     
  object Name of the communications control.
  value A character/string expression indicating the ParityReplace character
     
  Example object.ParityReplace = "?" '// Set the value to the default.
       
    object.ParityReplace = "" '// An empty string
       
    Text1.Text = object.ParityReplace '// Retrieves the value
       

Remarks:

If parity is enabled (see the object.Settings property) then the com port will complete a parity check on each byte as is it received. If this property is enabled then any byte failing that parity check will be ignored and replaced by the ParityReplace character.

 

 

Copyright (c) 2010 Axis Controls Ltd