>
> design.wonk wrote:
> >
> >
> > --- In oopic@yahoogroups.com, Ian Drennan <ianid@> wrote:
> >
> >> design.wonk wrote:
> >>
> >>> Is there any other documentation out there in addition to what comes
> >>> with version 6.1.1 of the IDE? Some methods don't seem to be well
> >>> documented, if at all. I was interested in using the .debug method,
> >>> but can't find any specifics on it - or is there another was to
> >>> monitor propertied during program execution?
> >>>
> >>> thanks
> >>>
> >>> -Ray
> >>>
> >>>
> >>>
> >>>
> >> Ray
> >>
> >> Check out the 'Object Watcher' tool which is is in the files
section of
> >> this group. It uses the .debug method to dynamically display
objects,
> >> object properties and normal variables.
> >>
> >> Essentially the .debug method with the statement ObjectName.debug
will
> >> transmit the string "<ObjectName=Value/>" out on the USART of the
> >>
> > Oopic.
> >
> >> The nice thing is, you don't have to use a serial object to do
this as
> >> it sends it directly to the hardware.
> >>
> >> Ian
> >>
> >>
> >
> >
> > Ian,
> >
> > I was having trouble with Object Watcher - I apparently sent you a
> > blank email about it (hopefully not truly reflective of my programming
> > skills). Anyway, OW just says connecting, but never connects to my
> > ooPIC-R. I wasn't sure if it worked with version 6.1.1 of the IDE.
> >
> > thanks
> >
> > -Ray
> >
> >
> Ray
>
> The Object Watcher does work with the IDE ver 6.1.1 on the Oopic II+
> Chip running on a S Board. The operating system I am using is Win XP.
> However I would think that it will work with the C 1.1+ chip on the
> oopic R. Having said that I do not have a C 1.1+ chip to test it with.
> If the delimiters in the string being sent using the .debug are as:
> <ObjectName=Value/> then it should work without a problem.
>
> I have just done a fresh install on my sons laptop and it worked fine
> even when using a USB to Serial adapter.
>
> Please can you install this simple test program on the oopic and see if
> you can get it to connect. I have a 1 sec delay in this test program
> startup, just to make it easier to reprogram the oopic as the .debug
> method does tend to hog the USART. The OW takes care of this issue once
> connected however.
>
>
> Dim Count As oByte
>
> Sub Main()
> Delay = 1000 'this is optional but helps when the .debug is being
> selfish with the USART
>
> Do
> Count.Inc
> Count.Debug
> Delay = 200
> Loop
>
> End Sub
>
>
> If it still does not work then please can you check what the
transmitted
> string looks like using HyperTerminal or similar. Another way to see
> what is being transmitted is to open the Oopic Comm Window, then open
> the Dialog Window by right clicking the oByte object called Count. Then
> click the refresh button a number of times until you see the .debug
> strings in the Comm Window. Eventually an error message box will appear
> with the .debug strings printed on the error message box.
>
> If the strings look like below then the OW should work just fine.
>
>
<Count=16/><Count=17/><Count=18/><Count=19/><Count=20/><Count=21/><Count=22/><Count=23/><Count=24/>
>
<Count=25/><Count=26/><Count=27/><Count=28/><Count=29/><Count=30/><Count=31/><Count=32/><Count=33/>
>
<Count=34/><Count=35/><Count=36/><Count=37/><Count=38/><Count=39/><Count=40/><Count=41/><Count=42/>
>
<Count=43/><Count=44/><Count=45/><Count=46/><Count=47/><Count=48/><Count=49/><Count=50/><Count=51/>
>
<Count=52/><Count=53/><Count=54/><Count=55/><Count=56/><Count=57/><Count=58/><Count=59/><Count=60/>
>
<Count=61/><Count=62/><Count=63/><Count=64/><Count=65/><Count=66/><Count=67/><Count=68/>
>
> Let me know what you find.
>
> Ian
>
Ian,
I loaded the program and fired up the ooPIC. The captured info
appears to be binary rather than text. There is a steady flow of
binary information out of the port. I will email you a copy of the
capture file.
-Ray
------------------------------------
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:
No comments:
Post a Comment