Hi ,

Still having with problems Comm Port sending and receiving.

Before i can write to the some Hardware i must wait for the character ">"

i have tried 

write TxData to file COM1:
wait 250 milliseconds
read from file COM1: until ">"
X
X do something with the received Data
X
then write TxData to file COM1:

or 

write TxData to file COM1:
wait 250 millieseconds
read from file COM1: until empty
if the last char of it =">" then
X
X do something with the received Data
X
write TxData to file COM1:
etc etc.....

If i loop it say (10 times  ) sometimes it  write again before a ">" is 
received 
???????? 
  
It does not seem to check for ">" or misses ">" completly
The Hardware always sends ">" when ready !

Help Help 

Camm
_______________________________________________
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to