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.

Monday, September 10, 2007

Re: [oopic] Re: strange oLED operation, VB.net commands to SCP

rtstofer wrote:
>
> One thing I have never seen discussed: can the OOPic keep up with SCP
> at 9600 baud on a long term basis? Things like a PC continually
> checking the status of a flag? Clearly the interpreter is dealing
> with SCP but how fast can it go and still process the object loop?
>
> Some day I'll have to do a little testing.
>
> Richard
>
>
>
>
>
I have experimented with a virtual on-line I/O display which shows the
electrical status of all the oopics pins. To do this I was using SCP to
read the values on the five port registers. Each port register was read
as a block of data so as to speed things up with minimal SCP command
traffic.
With this arrangement I was able to read and process the port data at
72Hz on a 1.6 GHz computer at 9600 baud and at 138 Hz with 19200 baud.
At these achieved frequencies there was no change in the Oopic's ability
to service the VC's or scripted code. To test the scripted code I
toggled a oDio1 object in a loop and measured its frequency. The
frequency remained constant with or without SCP polling the oopic.
Was a fun thing to do
Ian




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: