
November 7th, 2004, 09:22 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Location: Singapore
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
mscomm1.RThreshold properties
Hi, How to choose the value of RThreshold?
setting the RThreshold property equal to 2 tells the MSComm control to fire the comEvReceive event when there are at least two bytes available in the buffer. The second property, InputLen, tells the MSComm control to only give us the first two bytes when we request data from the buffer.
Does this sentence tell me that I must set the RThreshold and InputLen are the same value? I'm trying to receive the data which is not a constant, eg, T(0-255)H(0-255)L(0-255) and display it, but the output is not in this sequence, eg, T23H1L134, T, 23, H1L134 etc. Can anyone tell me what is wrong? Thank you very much!
pingping
|