SComm32 Communications OCX
Loopback Test Plug
Sets or Retrieves the number of bytes that arrive in the transmit buffer before an OnComm event is raised.
MSComm32 and SComm32 have the same syntax and functionality.
SComm1.RThreshold = value
A numerical expression indicating the RThreshold number of bytes.
SComm1.RThreshold = 0
'// OnComm events will not be triggered.
SComm1.RThreshold = 1
'// OnComm events will be triggered when one or more characters arrives in the transmit buffer.
This can be any value from 0 to 32767 but it is recommended that you only use 0 or 1 as in the above examples.