[Cialug] Slightly OT, .. C coding
Jeffrey Ollie
jeff at ocjtech.us
Mon Aug 22 15:33:58 CDT 2016
I don't know about "framework" or "library" but I would think that
problems like this fall under the topic of real time computing. RTC is
a big field and I have no real experience but that's where I'd start
looking.
On Mon, Aug 22, 2016 at 3:14 PM, Scott Yates <Scott at yatesframe.com> wrote:
> 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
>>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
--
Jeff Ollie
The majestik møøse is one of the mäni interesting furry animals in Sweden.
More information about the Cialug
mailing list