[Gambas-user] serial port
yuhej
robert1juhasz at ...626...
Wed Dec 9 12:26:53 CET 2009
Hello,
I'm very happy with the serial port communication, just I have some more
question.
When I start the application, I don't know what ports will be used and how
many.
So I have an object array where I add new serial ports depending on the
hardware configuration.
>From this object array, I'm able to send and receive data. I just don't know
how to access to the serial port events (read). Can someone help me in this
matter?
Thanks,
Robi
yuhej wrote:
>
> Useful info, I'll do like that.
> Thanks, Robi
>
> 2009/9/19 nando <nando_f at ...951...>
>
>> In my Linux serial port experience, serial port devices are named:
>>
>> /dev/ttyS0..9 and upwards
>> /dev/ttyUSB0..9 and upwards depending on what is plugged in USB.
>>
>> I have done a lot of serial port stuff with Gambas.
>>
>> I know that trying to open then with the serial port control
>> will fail is non-exising port. This error can be detected.
>>
>> It can be possible to open a port as a test to see if it exists, but you
>> may be changing parameters and stealing chars from an existing
>> connection.
>> I've had this happen too....really messes things up.
>>
>> -Fernando
>>
>>
>> ---------- Original Message -----------
>> From: yuhej <robert1juhasz at ...626...>
>> To: gambas-user at lists.sourceforge.net
>> Sent: Fri, 18 Sep 2009 21:08:04 -0700 (PDT)
>> Subject: [Gambas-user] serial port
>>
>> > Hello,
>> >
>> > I can see that Gambas can handle the serial ports which is a very good
>> news
>> > for me.
>> > Can someone tell me how can I get the list of the serial ports of my
>> > computer? I wish to make an autodetect function and only allow to
>> select
>> > from the working serial ports.
>> >
>> > Robi
>> > --
>> > View this message in context:
>> http://www.nabble.com/serial-port-tp25518421p25518421.html
>> > Sent from the gambas-user mailing list archive at Nabble.com.
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Come build with us! The BlackBerry® Developer Conference in SF, CA
>> > is the only developer event you need to attend this year. Jumpstart
>> your
>> > developing skills, take BlackBerry mobile applications to market and
>> stay
>> > ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> > http://p.sf.net/sfu/devconf
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> ------- End of Original Message -------
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register
> now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
View this message in context: http://old.nabble.com/serial-port-tp25518421p26708752.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list