At 11:13 AM -0500 8/31/04, Barry Lumpkin wrote:
The system finds the fake serial port fine. I'm supposed to get 111
ASCII characters when I do a ReadAll. Instead of getting all 111
characters in one read, evidently DataAvailable fires two or three
times before I get the entire string.
That's perfectly normal.
Right now I'm combining the reads via a EditField to come up with
all 111 characters.
I really wouldn't recommend an EditField for this purpose. An
EditField is a place for editing text, not a storage area for data.
Use a simple string property instead (use the New Property command
and type "data as String", and you now have a property called "data"
which can hold a string).
Best,
- Joe
--
,------------------------------------------------------------------.
| Joseph J. Strout REAL Software, Inc. |
| joe at realsoftware dot com http://www.realsoftware.com |
`------------------------------------------------------------------'
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|