Events on Serial port
- From: Derek <derek.philip@xxxxxxx>
- Date: Thu, 3 Jul 2008 02:40:03 -0700 (PDT)
Hi All
I have a tcl script that polls the serial port DSR line with the
fconfigure command every 3 - 8 ms, selectable by the user. I then know
I have data waiting on the embbeded device and can query it. The
processing of the data is plenty fast enough but getting it off the
remote device is a bit time consuming, I have little control over
that, I would prefer to know the data is available more precisley
with out putting load on the main CPU at the script level.
Is there any way to be more efficient, i.e. get an event/interrupt
perhaps with the new channel setup in 8.5, or am I overstepping the
domain of dynamic languages.
Thanks
Derek
.
- Follow-Ups:
- Re: Events on Serial port
- From: Rolf Schroedter
- Re: Events on Serial port
- From: Alexandre Ferrieux
- Re: Events on Serial port
- Prev by Date: Re: Binary Encoding, A Special Case?
- Next by Date: Re: Events on Serial port
- Previous by thread: Tcl/Tk-8.5.3 breaks my code here
- Next by thread: Re: Events on Serial port
- Index(es):