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
RThreshold
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
value:-
A numerical expression indicating the RThreshold number of bytes.
Examples:-
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.
Remarks
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.