[Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

Benoît Minisini gambas at ...1...
Wed Dec 2 02:25:19 CET 2009


>    Thanks Benoit and all for your speedy replies..
>    I'm using the serial port in a timing application with 3 laser through
>  beam sensors feeding into the CTS, RI and DSR lines of the serial port. In
>  this mode I don't pass any data, don't really care about flow control and
>  am only interested in the raw status change events. Working this way I
>  haven't noticed gross CPU utilisation after opening the port.  The
>  application also uses the UDPsocket to communicate remotely and what I
>  have noticed is that if the serial port does not open correctly e.g.
>  "/dev/tty" wrong and the UDPsocket is open, then there is a large amount
>  of CPU used. Both open correctly and CPU normal.
>    Can you tell me the polling frequency in Gambas2 2.8 ?
>    I would assume that there ore other users of Gambas2 who are using the
>    serial  port  as  a  convenient  way of passing external events to the
>    application, so maybe some input from them would also be in order. As
>  long as there is a mechanism to replicate the Gambas2 2.8 functionality
>  that I currently use, I'll leave the implementation up to those who know a
>  lot more than myself. If going back to polling, a property to define the
>  frequency would be nice.
>    Thanks again,
>    Tony.

Can you try the revision #2454? I think I have found and fix another possible 
bug, and I'd like to be sure I didn't break anything.

Regards,

-- 
Benoît Minisini




More information about the User mailing list