[Cialug] Slightly OT, .. C coding
Scott Yates
Scott at yatesframe.com
Mon Aug 22 15:14:51 CDT 2016
I am curious as well. That seems like something that might have been
solved at the level of a "framework" or "library" maybe?
What is considered best practice here?
On Mon, Aug 22, 2016 at 3:02 PM, Dave Weis <djweis at sjdjweis.com> wrote:
> Platform?
>
> I would generally enable buffering on the port and use either a timer or
> interrupt to put the data into a fifo. Possibly blocking I/O also. Need
> more and better description of what you're trying to accomplish.
>
> On Monday, August 22, 2016, L. V. Lammert <lvl at omnitec.net> wrote:
>
> > We had some simple programs a while back using timing loops to wait for
> > RS232 data, but we found that the timing loop had to be 400-500 mS to
> > ensure accurate data reception.
> >
> > May have a similar application that would require sub-second performance,
> > so might there be any C developers that have solved similar problems?
> >
> > TIA!
> >
> >
> > Lee
> >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org <javascript:;>
> > http://cialug.org/mailman/listinfo/cialug
> >
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
More information about the Cialug
mailing list