Com Port wait for ready character >
Camm29
Camm29 at tesco.net
Fri Dec 30 07:21:59 EST 2005
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
_______________________________________________
More information about the use-livecode
mailing list