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
Location: Italy
Contact:

Need some example code to pilot the serial rs232..

Post by Fasasoftware » Fri Jun 07, 2013 8:40 am

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: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

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

Post by Klaus » Fri Jun 07, 2013 10:19 am

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
Location: Italy
Contact:

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

Post by Fasasoftware » Fri Jun 07, 2013 6:13 pm

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

tausend Entschuldigungen

Best Regards,

Lestroso

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7235
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

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

Post by jacque » Fri Jun 07, 2013 6:29 pm

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
Location: Italy
Contact:

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

Post by Fasasoftware » Sat Jun 08, 2013 11:22 pm

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

Return to “Linux”