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.

Sunday, October 21, 2007

[oopic] Does oMathC work?

In putting together some odometer code, I wanted to move the value from the
oQuadencode count to a oWord object all in a virtual circuit. To move a
word, I figured that the way to go would be the oMath object in cvLatch
mode. However, I wanted to do that once every second, so I used the oMathC
object and tried to link the ooPIC.Hz1 to the timer. I used several
variations of this line:

(assuming that lMath is declared as New oMathC)

lMath.Process.Input.Link(ooPIC.Hz1)

I get an error saying that Input is not a member of oMath. I note that the
compiler is not saying that it is not an error of oMathC. To test this, I
changed oMathC to oMathO, and got other errors that specifically referred to
the oMathO object. Since the error I am getting refers to the oMath object,
rather than the oMathC object, it leads me to believe that the oMathC is not
actually implemented, despite using B2.2+ (which appears to include the
oMathC object).

Any suggestions?
--
View this message in context: http://www.nabble.com/Does-oMathC-work--tf4668255.html#a13335496
Sent from the OOPic mailing list archive at Nabble.com.


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: