Page 1 of 1

Serial Communications

Posted: Mon Aug 07, 2006 7:34 pm
by cmenge
Hey Guys,

I can't seem to get serial communications to work properly, does any one have a short sample?

I've been working with:

set the serialControlString
open file "COM1:"
write "data" to file

Any thoguhts?

Cheers!

Re: Serial Communications

Posted: Mon Aug 07, 2006 11:12 pm
by DarScott
cmenge wrote:set the serialControlString
open file "COM1:"
write "data" to file
I assume that is 'write "data" to file "COM1:"' and that you 'close file "COM1:"'.

Looks good. Try looking at 'the result' right after the open and the write. Maybe COM1: is in use by something else.

If you are looking at a serial gadget with LEDs to show the levels, try longer data. You should also see handshake lines flip.