This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Thursday, February 21, 2008

Re: [oopic] Re: storing data to oopic

At 06:20 PM 2/20/2008, rtstofer wrote:
>When I use it, it is strictly a figment of my imagination. I thought
>I did a simple For ... Next loop and timed a bunch of iterations a
>long time ago. Nothing inside the loop, no objects defined, nada.

I did the same thing - the number was ~350.


>Some lines of code are more complex than others. I would be just as
>happy using 400 LPM or even 200 LPM. The point of my using the
>figure is to point out how hopeless it is to plan on doing serial IO
>with the OOPic unless flow control can be implemented.

When you use a figure of 1000 LOC/sec, it moves the problem in to the
doable-if-you-use-enough-tricks realm. At 350 LOC/sec, it's impossible.


>Even then, it
>is hard to enforce flow control on such a small buffer. The sender
>may not be able to stop that fast if it has any kind of FIFO.

At 1000 LOC/sec, I could pass on flow control. It would be a hack,
but it would work.

A thought occurs to me - the V5 code generation isn't the greatest;
if V6 does a better job, the 350 figure gets revised up (to
400-500?), but I haven't looked at code V6 generates, so it's just
idle speculation at this point.


...Andy



Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: