Comm Port Send and Receive
Camm29
Camm29 at tesco.net
Wed Dec 28 11:35:45 EST 2005
Are there any goods docs on this subject
----- Original Message -----
From: "Camm29" <Camm29 at tesco.net>
To: <use-revolution at lists.runrev.com>
Sent: Tuesday, December 27, 2005 9:42 PM
Subject: Comm Port Send and Receive
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 Data to file COM1:
wait 250 milliseconds
read from file COM1: until ">"
X
X do something with the received Data
X
then write Data to file COM1:
or
write Data 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 Data to file COM1:
etc etc.....
If i loop it sometimes writes before a ">" is received
????????
It does not seems to check for ">" or misses ">" completly
The Hardware always sends ">" when ready !
Help Help
Camm
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list