SComm64 Communications DLL.



. 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


Retrieves (reads) data from the receive buffer.


The word 'Input' is a reserved word in some modern scripting languages. SComm32 continues to support the standard .Input method for backward compatibility with MSComm32 and in the vast majority of Windows/Forms development environments there shouldn't be any problem using the standard .Input method.

However, if your application does not have a Windows/Forms UI for example if you create the Object and OnComm event in code then, depending on your development environment, you may find that the .Input method won't compile. In such cases you can use the .Read method instead.

Internally both .Input and .Read are tied together giving identical functionality.

The behavior of this property is affected by the InputMode property. You will see from the above examples that both modes can return the same data but how you then process that data depends on whether the data is returned as a string or an array of bytes.


value = SComm1.Read


A String or an Array of Bytes depending on the current state of the InputMode Property