Comunication COM1: and a CNC milling machine (timeout?)

Malte Brill malte.brill at t-online.de
Wed Sep 17 09:22:00 EDT 2003


Hi Dave,

thanks for that. I´ll try it tomorrow.
Also I will set up a flexible method of setting the serialControlString to
see if the machine needs Handshaking/timeout.

Regards,

Malte

>Hi Malte,

>I'm very new to RR myself, but I've done lots of comms work. Maybe it could be
>this line;

>read from file "COM1:" until end

>The documentation states;

>If you specify any of EOF, end, or empty, the read continues reading until it
>reaches the end of the file. (If you¹re reading from a serial port, you must
>use the form read from file portname until empty.)
>It could be that using "until end" simply returns an empty rs232 buffer
>regardless of data, whereas "until empty" transfers data out of the buffer
>until it's....er.....empty.





More information about the use-livecode mailing list