Re: [flexcoders] reading serial port with AIR / or pipe in linux with AIR application

2008-05-08 Thread yiğit boyar
yes,
what came to my  mind is that,
I will write a java program which will listen the serial port and open a
server socket.
my AIR application will connect to the java application and get the data
using socket.
i this way, it will be fast and seamless...
thnks.
yigit

On Thu, May 8, 2008 at 6:39 PM, Kevin Aebig <[EMAIL PROTECTED]> wrote:

>I'm quite sure that direct port access is out of the question, but you
> could build a small service that reads that data and outputs it as a
> realtime XML server locally. That way you could get live updates and not
> worry about delay.
>
>
>
> !k
>
>
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *yigit boyar
> *Sent:* Thursday, May 08, 2008 1:10 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] reading serial port with AIR / or pipe in linux
> with AIR application
>
>
>
> hi folks,
> is there a way to read data from serial port ? (RS232 - 9pin cable)
> I couldn't find any example/API and not very hopeful but Java has it why
> not AIR?
>
> I have an embedded HW and the instructor requires a good looking GUI, so I
> want
> to do the GUI with AIR, if I can.
> From internet searchs, people suggest to write a C code to read data and
> export to a file
> from which Flex will read, but considering 5ms precision will not be
> possible in this way. I can do this
> with pipes of linux, but is there a way to pipe an AIR application with an
> executable in linux ?
>
> Any help/suggestion is welcome,
> thanks
>
> yigit
>
>  
>


RE: [flexcoders] reading serial port with AIR / or pipe in linux with AIR application

2008-05-08 Thread Kevin Aebig
I'm quite sure that direct port access is out of the question, but you could
build a small service that reads that data and outputs it as a realtime XML
server locally. That way you could get live updates and not worry about
delay.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of yigit boyar
Sent: Thursday, May 08, 2008 1:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] reading serial port with AIR / or pipe in linux with
AIR application

 

hi folks,
is there a way to read data from serial port ? (RS232 - 9pin cable)
I couldn't find any example/API and not very hopeful but Java has it why not
AIR?

I have an embedded HW and the instructor requires a good looking GUI, so I
want
to do the GUI with AIR, if I can.
>From internet searchs, people suggest to write a C code to read data and
export to a file
from which Flex will read, but considering 5ms precision will not be
possible in this way. I can do this
with pipes of linux, but is there a way to pipe an AIR application with an
executable in linux ?

Any help/suggestion is welcome,
thanks

yigit