Page 1 of 1

Need some example code to pilot the serial rs232..

Posted: Fri Jun 07, 2013 8:40 am
by Fasasoftware
Daer friend,

Can somone help me?? I Need some example code to pilot a demo board with my cubloc220 throught the serial....IN LINUX UBUNTU DEPLOYMENT.....

Can you help me please??? For example... if i need to send some numbers like : send "123,234,23,456"...for example...I have Invented this command....is there any other manner to speak with the serial???? is there a stack with demo???

i know the esistance of phiget.com board that are driven natively i think with livecode... but those are too expansive...

I thank you so much in advance...

best regards,

Lestroso

Re: Need some example code to pilot the serial rs232..

Posted: Fri Jun 07, 2013 10:19 am
by Klaus
Buongiorno Lestorso,

Please do not open two identical threads only because noone answered so far, that is really bad style.
I deleted the other thread about this (you will confess, quote exotic) topic!

Grazie!


Best

Klaus

Re: Need some example code to pilot the serial rs232..

Posted: Fri Jun 07, 2013 6:13 pm
by Fasasoftware
i'm sorry so much....but nobody answer me....

tausend Entschuldigungen

Best Regards,

Lestroso

Re: Need some example code to pilot the serial rs232..

Posted: Fri Jun 07, 2013 6:29 pm
by jacque
I can't help too much because I haven't done any work like that, but you should read about sockets. You'll find some posts in the forums here, and there's quite a bit in the dictionary too. You also may be able to use the serial port commands instead, see dictionary entries on "open file", "write to file", "read from file", etc. because serial ports are treated the same as files.

Re: Need some example code to pilot the serial rs232..

Posted: Sat Jun 08, 2013 11:22 pm
by Fasasoftware
Thanks a lot jaqueline.....I'll look around the forum and i'll will read the help and the manual....

Best Regards,

lestroso