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

Output

Outputs/Sends data (Places bytes into the transmit buffer)

Not available at design time. Write only at runtime.

         Syntax object.Output = value
     
  object Name of the communications control.
  value A String expression containing the characters/bytes to place into the transmit buffer.
     
  Example.  
    object.Output = Text1.Text '// Places the contents of a text box
'// into the transmit buffer.
       

Remarks:

Ensure that your transmit buffer is large enough and has enough free space to hold the number of bytes. If you have a lot of data then you might consider splitting the data and repeatedly calling the Output property sending smaller amounts.

Warning - If you attempt to insert too much data into the transmit buffer the data will be truncated. This property does not return an error - but an OnComm comEventTxFull is fired.

Use OutBufferSize - OutBufferCount to calculate the number of free spaces in the output buffer. Although, in most simple applications we would suggest waiting until OutBufferCount is zero before queueing more data.

 

 

 
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