SComm32 Communications OCX

   







Properties/Methods

. Break
. CDHolding
. Commevent
. CommName
. CommPort
. CTSHolding
. DSRHolding
. DTREnable
. EOFChar
. EOFEnable
. EvtChar
. EvtCharEnable
. Handshaking
. InBufferCount
. InBufferSize
. Input
. InputLen
. InputMode
. NullDiscard
. OutBufferCount
. OutBufferSize
. Output
. OverlappedIO
. ParityReplace
. PortOpen
. Read
. RThreshold
. RTSEnable
. Settings
. SThreshold

OnComm Event
Hardware/Cables etc
Loopback Test Plug

InputLen

Sets or Retrieves the number of bytes to be read from the receive buffer

MSComm32 and SComm32 have the same syntax and functionality.

Syntax:- SComm1.InputLen = 1

value:-

A numerical expression, 0 to 32767 indicating the maximum number of bytes to be retrieved by the Input property.
 


Remarks:

This property affects the operation of the Input method. When your application collects/retrieves data from the receive buffer (See the Input method) it will return a maximum of this many bytes for each .Input operation.

The default for this property is 0 (zero). If this property is set to 0 then the Input method will retrieve ALL bytes from the receive buffer.

Leave this at default zero unless you really need to receive fixed length packets or single characters/bytes.