Need some example code to pilot the serial rs232..

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Need some example code to pilot the serial rs232..

Post 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
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

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

Post 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
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

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

Post by Fasasoftware »

i'm sorry so much....but nobody answer me....

tausend Entschuldigungen

Best Regards,

Lestroso
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

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

Post 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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

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

Post 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
Post Reply