|
-
Mar 14th, 2000, 01:30 AM
#1
Thread Starter
Lively Member
I already wite code for reading and writing on comm. I have another problem. Wher I send some data to Comm my electronic ciruct returns other data (some kind of response to given command). I comunicate with 4800 bps.
Problem is this: I need to pause program while i get data from comm.
I don't know how much data will I receive (it is less than 256 bytes) and how long program must be paused.
At the moment I solved this problem with timer which trrigers every 700ms (enough time to send and recieve all data).
In my super-fast computer works fine (more or less), but when I installed program on super-slow machine (486/50) Timer execute his code every 5 seconds.
What should I do!
Ermin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|