PDA

View Full Version : ViewPort v4.1 Release Candidate #1



Hanno
01-17-2009, 08:58 AM
Here is the latest download for the ViewPort v4.1 beta: ViewPort Beta (http://mydancebot.com/viewport/beta.php)

This release candidate includes the Spin Debugger and OpenCV plugins as well as the new terminal mentioned in other threads. This beta is time-limited, but will run on PC's that have trialled ViewPort in the past. If you're currently using or trialling ViewPort, feel free to install this version in a separate directory. ViewPort is not free- when this beta expires in February, you will need to download the finished product to trial for 30 days and/or register with a license key.

Thanks particularly to Andy, TJ, and Ingolf for testing the previous builds of this release.

I'll update this post when I post new downloads. If you get stuck or have found a bug please email me at "support@mydancebot.com" Would be great if you could tell me what works and what doesn't.

Useful Info:
63page PDF Manual (http://mydancebot.com/viewport/manual41.pdf)
4 Min Video Demo of Spin Debugger (http://www.youtube.com/watch?v=wYqJDYPDDrk)
2 Min Video Demo of OpenCV Vision (http://www.youtube.com/watch?v=Teb-HTAg4_Q)
ViewPort Home (http://mydancebot.com/viewport)
Threads:
OpenCV (http://forums.parallax.com/showthread.php?p=776968)
Spin Debugger (http://forums.parallax.com/showthread.php?p=760083)
Hanno

Post Edited (Hanno) : 2/8/2009 4:08:09 AM GMT

Mike Huselton
01-17-2009, 09:02 AM
Thanks, Hanno.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH - Electronics: Engineer - Programming: Professional

Bob Lawrence (VE1RLL)
01-17-2009, 10:50 AM
Hanno,

I gave it a try and all I can say is that it's an amazing software package. Wow!!!! http://forums.parallax.com/images/smilies/jumpin.gif

Edit:
.... and thanks! http://forums.parallax.com/images/smilies/yeah.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob

Post Edited (Bob Lawrence (VE1RLL)) : 1/17/2009 2:56:46 AM GMT

Ed Parsons
01-17-2009, 08:54 PM
Hanno,

This is an awesome piece of work you have done here. A couple of questions.
1. I notice on your website that on the current version of Viewport you have an alternate download for 64-bit systems. I'm running Vista-64 bit. I downloaded and installed the beta, and fired it up with no issues, but haven't really had a chance to use it. Should I expect some issues with the beta running on my machine?
2. Maybe this is too soon to ask but, after this version is released, how will the pricing compare to the current version?

Thanks,

Ed

Hanno
01-18-2009, 03:30 AM
Bob- thanks for the awesome compliment- you're welcome!
Ed- thanks for the compliment!
1: The beta should work for XP SP1+, XP 64bit, Vista, and in emulation on Mac and Unixes. All fixes to 4.0 are included in this beta.
2: Pricing- to be determined for the OpenCV and Debugger Plugins. I will always have a $29 lite package to help students get started with the Propeller. Purchasers of a v4.x license will upgrade to all 4.y releases- roughly the next year's worth of work.

SPECIAL DEAL
All "Ultimate" level users as of Feb 1st will be upgraded to "Ultimate" on v4.1- which includes the OpenCV and Debugger plugins.
Hanno

Shane De Catania
01-19-2009, 03:51 PM
Thanks Hanno - looks good so far.
Question: is there a limit on the number of functions in the project with the beta version (or the final version for that matter)? I'm getting the message "Can't start debugging session:Problem compiling code with debugging information: PUB Func1(param1, param2) | iError=Can only debug <32 functions"
Note that this project definitely does have more than 32 functions.
Cheers,
Shane

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
News Flash!... Energizer Bunny arrested and charged with battery.

Hanno
01-20-2009, 03:26 PM
Shane-
Currently the debugger uses one LONG to implement the "Step Out, Step Over, and Step" commands. This limits the number of functions in the TOP object to 32. There are a couple ways around this- please comment:
- split your solution into objects so that your top object should have less than 32 functions (probably a good idea anyway!)
- customize the debugger with special compile statements: tell where the debugger may pause and which functions to include/exclude. Doing this will let the cog run at full speed for some code and somewhat slower in debug enabled code where you can pause/breakpoint it.
- add a mode used when the number of functions exceeds 32. In this mode, you'll be able to set breakpoints and single step. However, you won't be able to "step out' or "step over".

I have a feeling the answer is "all 3"....
Hanno

TJHJ
01-22-2009, 05:25 AM
Hello All,

As being lucky enough to do some of the testing for this product, I came up with some really odd stuff, everything I threw at it, was fixed and it exceeded my expectations.

If I can say one thing the prop has been missing is ICD, it is so frustrating looking through lines of code trying to track where that weird one number is from.

ViewPort satisfies this requirement hands down while providing a ton of additional features.

If you buy one thing for the prop, buy this. (No I am not getting anything for saying this, I truly believe it. )

TJ

Mike Huselton
01-22-2009, 06:18 AM
I agree. Hanno sent me this one year ago for Beta. Current version is outstanding!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH - Electronics: Engineer - Programming: Professional

Chad George
01-31-2009, 11:15 AM
Hanno,

Wow, great stuff! It seems like only a year ago that ViewPort was just a cool remote monitor utility. Now its becoming truly an indispensable tool

This is exactly what Propeller development has been lacking. Keep it up!

Hanno
02-03-2009, 09:21 AM
Thanks for the great compliments! They're what keep me going :)

Ok, a new release is available- see link in first post
Some new goodies:
- support for Propeller float type
- support for Propeller string type
- new terminal, see tutorial #16
- improved OpenCV, better interface, runs continuously (even while other tabs are up), and lets you use either a webcam, a propeller frame grabber, an avi file, or images...)
- lots of fixes

This version expires mid-Feb. I hope to release the final by then! No known issues- if you encounter something strange please tell me about it!
Hanno

Post Edited (Hanno) : 2/8/2009 4:09:00 AM GMT

Bob Lawrence (VE1RLL)
02-03-2009, 10:12 AM
I received the following error message:

"Problem processing vision:
Video
Detail:
External component has thrown an exception.
at  .cv4vpProcess(IntPtr , IntPtr , IntPtr , IntPtr )
at  .()"


- I uninstalled everything (including manually uninstalling all old versions of VP).
- I re-booted.
- Then I tried a fresh install and still received the same error message.

I am running running MS Windows XP Pro Service pack 3

I will try again later
http://forums.parallax.com/images/smilies/turn.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob

Hanno
02-03-2009, 10:37 AM
Hi CosmicBob,
Thanks for trying out the latest so quickly and sorry about the problem you encountered. Can you tell me a bit more about the problem?
- After you installed, did the ViewPort screen come up? Did you see the Welcome view?
- What did you click to get the error message? Is it reproducable?
- Do you have a webcam attached?
Hanno

Bob Lawrence (VE1RLL)
02-03-2009, 10:56 AM
@Hanno

Thanks! for having a look.

All I did is start the program:
- I can see the various tabs in the background and the "Welcome to Viewport" tab is selected.
- It is very repeatable. Every time I re-start the program I get the same message. "Problem processing vision" etc..
- I don't get a chance to select anything because of the error message.

I do not have a camera installed on the computer. ( I'm actually too ugly to even own a camera http://forums.parallax.com/images/smilies/lol.gif )

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob

Bob Lawrence (VE1RLL)
02-03-2009, 11:06 AM
JPEG of the error message attached.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob

Hanno
02-03-2009, 01:29 PM
Thanks Bob for the replies and the screenshot. Good excuse not to have a camera- although you could always use Photoshop!
I'll have a fix tomorrow- need some time with the kids and wife now... Shouldn't be too hard to track down.
Hanno

hover1
02-04-2009, 01:59 AM
Bob Lawrence (VE1RLL) said...
@Hanno

Thanks! for having a look.

All I did is start the program:
- I can see the various tabs in the background and the "Welcome to Viewport" tab is selected.
- It is very repeatable. Every time I re-start the program I get the same message. "Problem processing vision" etc..
- I don't get a chance to select anything because of the error message.

I do not have a camera installed on the computer. ( I'm actually too ugly to even own a camera http://forums.parallax.com/images/smilies/lol.gif )


Bob, I had to same problem also. Look at the OpenCV code and see if "video:source=cam". Mine was. Just change it to "video:source=file".

Jim

Hanno
02-04-2009, 04:00 AM
Thanks Jim for diagnosing and solving your problem... Your tip will help people who don't have a camera and try out the "OpenCV tutorial". I'm sure I wrote code that would select the test image automatically if you don't have a camera- wonder where it went....

However, I think Bob's problem occurs right at startup- BEFORE he loads/connects to any tutorials. Bob- please correct me if I'm wrong...
Hanno

Bob Lawrence (VE1RLL)
02-04-2009, 04:58 AM
Hanno said...
However, I think Bob's problem occurs right at startup- BEFORE he loads/connects to any tutorials. Bob- please correct me if I'm wrong...


That's correct. as soon as you start the program and before you can select anything. I can't get rid of the dialog box to select anything else. For some reason it's starting in a pre-determined mode.

http://forums.parallax.com/images/smilies/turn.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob

Hanno
02-04-2009, 12:36 PM
Bob,
Try the latest version- see top of this thread for v4.1g
It should fix your issue. Worst case, it has a "report bug" feature, if you encounter a bug, please tick the box to send me a report.
Hanno

Bob Lawrence (VE1RLL)
02-04-2009, 01:18 PM
Hanno said...
It should fix your issue. Worst case, it has a "report bug" feature, if you encounter a bug, please tick the box to send me a report.


Report on it's way but once I sent the report and selected stop video everything seems ok.

I then quit the program and re-started i still get the message" Problem processing vision:
Video
Detail:
External component has thrown an exception.
at  .cv4vpProcess(IntPtr , IntPtr , IntPtr , IntPtr )
at  .()"

But I select stop vision and I can run it fine from there.


http://forums.parallax.com/images/smilies/jumpin.gif

Thanks! Hanno

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob

Bob Lawrence (VE1RLL)
02-04-2009, 01:30 PM
@Hanno

Unfortunately I can't try anything else at the moment because I blew just a PLL on a Proto board (second one in about 2 months so I'll have to figure out what I 'm doing wrong) . http://forums.parallax.com/images/smilies/freaked.gif
It's of course unrelated to the viewport problem and I'll have use my Hybrid board to test with Viewport . Maybe I'll get a chance tomorrow night. .

Bob

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob

Hanno
02-08-2009, 12:14 PM
Bob,
Thanks to excellent help debugging Microsoft's DLL-Hell from Capt. Quirk I'm hopeful that your bug is solved.
Please try the latest beta from here (http://mydancebot.com/viewport/beta.php)
Hanno

Hanno
02-12-2009, 03:16 AM
Looks like the DLL issue is still not resolved for some people. If you're running v41.I and get an error at startup involving cv4vp, PLEASE help by:
- Run ViewPort
- Run eventvwr, by typing "eventvwr" into the "start/run programs box"
- Click on "system"
- The last 2 or 3 errors will have been caused by ViewPort- probably a "side by side" error or something like that. Can you copy the detail and post them? Main thing I'm looking for is which file is missing.
Thanks!
Hanno
ps- Tom found an issue where ViewPort has problems loading a spin file with many nested objects. It'll be fixed in v41.j