serial port read (mac osx)

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
net23
Posts: 2
Joined: Sat Feb 06, 2010 7:37 pm

serial port read (mac osx)

Post by net23 » Sat Feb 06, 2010 10:24 pm

Hello everyone

I am using a serial port to communicate with a serial USB device

it is ok but what are the speed acceptable with revolution ?

it seems that 115200 baud doesnt work ... the same test with perl is ok ...

were could i find a full description of serialControlString parameters (i need the list of all speed accepted)

thanks in advance

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: serial port read (mac osx)

Post by Mark » Tue Mar 02, 2010 9:55 am

net23,

Why do you think that speed it the problem? have you tried a small number, such as 900, 1400 or 3200?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

net23
Posts: 2
Joined: Sat Feb 06, 2010 7:37 pm

Re: serial port read (mac osx)

Post by net23 » Wed Mar 03, 2010 10:28 am

Hello, thanks for the answer.

yes it is ok with smaller speed and with another device and com are ok
the device i want to use need this speed and work on the same computer with a little perl program.
when i choose this speed i got no error when opening device but it seems that no data are getting back.
I will borrow a digital scope to check what appening on the harware side :-)

have a nice day

Net23

Post Reply