Hi Photomankc,
You're not missing anything- ViewPort treats bytes and shorts as longs right now. For most programs it should be easy to change the "byte", "word" declarations to "long". Yes, this wastes a tiny bit of the Propeller's 32kb of memory. I'll look into supporting non-contiguous sharing- some of it already works- for example, the memory to share for the quicksample, video, and fuzzy logic objects can be located elsewhere.
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!
I like viewport! The only thing I am missing is something like an API/DLL. I would like to be able using viewport conduit/logic analysis(and maybe openCV) in a custom software (as SRLM is mentioning separating the brains part from viewport in a standalone module). I think a dll should be possible, no? Will you consider such solution in the future?
Hanno said...
Hi Photomankc,
You're not missing anything- ViewPort treats bytes and shorts as longs right now. For most programs it should be easy to change the "byte", "word" declarations to "long". Yes, this wastes a tiny bit of the Propeller's 32kb of memory. I'll look into supporting non-contiguous sharing- some of it already works- for example, the memory to share for the quicksample, video, and fuzzy logic objects can be located elsewhere.
Hanno
That's what I thought. It would be nice down the road since in cases where I have a Byte variable that's shared with other objects via a pointer if I change the declaration there I would need to change it in the other objects that access it right? That can be a bit of a pain.
Otherwise I really like the app. One off-topic question though. If I declare the conduit object in the top level is it available to other objects to use without them declaring their own copy? I have not been able to envision this. Is there an example of it to look at if it does work?
Hi,
I've put a lot of effort into the ViewPort developer's kit, check it out here:
The DDE integration is very complete- hopefully I'll post a beta with a sample VB.NET application and an Excel spreadsheet integration later today.
This means you have these integration options:
- use the built-in designer to graphically arrange and customize the widgets- video on my site:
- use the Developer's Kit to build your own widgets using any .net language
- use Excel or some other DDE aware application- even Word!
- write your own DDE aware application
I've already abstracted all ViewPort functionality into a dll- this upcoming release of ViewPort includes the same "vp.dll" that 12Blocks and PropScope use. Documenting it for general consumption is a different matter... Keep in mind that you also have access to me- either you can convince me that your feature is a good thing for the community or you can convince me by buying shoes for my wife...
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!
@Hanno - I walked through the PE lab and now have a functional link to viewport whilst debugging my i2c driver. A question before i purchase if you please..
I do not know much about PC programing, but Viewport seems very CPU intensive pushing my Pentium D805 2.66 (running @3.02GHz) with 2GB Mushkin DDR2 to a maximum of 95% and causing my display to flicker (along with the desktop icons) as if it's about to crash my system. Is there a setting i can change in an .ini or config file to utilize my Nvidia 8800Ultra more? It supports DX10 and OpenGL 2.0 natively.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Quicker answers in the #propeller chat channel on freenode.net. Don't know squat about IRC? Download Pigin! So easy a caveman could do it... http://folding.stanford.edu/ - Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
Hi RinksCustom,
Great that you went through the PEKit, Andy has done a fantastic job with it.
ViewPort's cpu usage is dependent on your pc's speed and the size of the ViewPort window. It runs fine on my dad's 500mhz pentium but it's refresh rate is low. On faster machines it's frame rate will increase. It should play nice with other programs- it's threads are at normal, or below normal priority. On my dual core 2ghz machine it uses <30% cpu in lsa view, full screen 1600x1024 mode. Which view are you using, what size screen?
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!
Just getting back into the Propeller, and am in the process of checking out Viewport.· So far it seems to be a useful tool - one of the more serious drawback of the Prop imo was the lack of any kind of simulator or debugger.
Granted I have not used Viewport extensively, but am I correct to assume that debugging is only possible within one cog at any one time?· It seems that more complex applications using multiple cogs that interact with each other would benefit the most from a debugger or simulator tool.
Personally, nirvana to me would be·a full simulator that emulates all operation of the chip, including system clock and cog hub access.·
Getting a bit closer to nirvana. The latest ViewPort beta- available here: forums.mydancebot.com/viewtopic.php?f=4&t=72
- let's you share multiple non-contiguous variables and even arrays, in addition to sharing all the existing datatypes. Should make "photomangk" and many others happy.
- has a "Client Kit"- video, download and info here: http://mydancebot.com/viewport/clients.php
I've included sample clients that can monitor and change spin variables and arrays in these languages: python, vb.net, c#.net and excel
- uses less of your cpu
- Spinner has been renamed to 12Blocks and is getting more advanced, see more here: 12blocks.com
- I'm starting to play with ViewPort on my Ubuntu system. "Visual studio"-like debugging support under Linux, only more fun.
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!
Comments
You're not missing anything- ViewPort treats bytes and shorts as longs right now. For most programs it should be easy to change the "byte", "word" declarations to "long". Yes, this wastes a tiny bit of the Propeller's 32kb of memory. I'll look into supporting non-contiguous sharing- some of it already works- for example, the memory to share for the quicksample, video, and fuzzy logic objects can be located elsewhere.
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!
I like viewport! The only thing I am missing is something like an API/DLL. I would like to be able using viewport conduit/logic analysis(and maybe openCV) in a custom software (as SRLM is mentioning separating the brains part from viewport in a standalone module). I think a dll should be possible, no? Will you consider such solution in the future?
That's what I thought. It would be nice down the road since in cases where I have a Byte variable that's shared with other objects via a pointer if I change the declaration there I would need to change it in the other objects that access it right? That can be a bit of a pain.
Otherwise I really like the app. One off-topic question though. If I declare the conduit object in the top level is it available to other objects to use without them declaring their own copy? I have not been able to envision this. Is there an example of it to look at if it does work?
I've put a lot of effort into the ViewPort developer's kit, check it out here:
The DDE integration is very complete- hopefully I'll post a beta with a sample VB.NET application and an Excel spreadsheet integration later today.
This means you have these integration options:
- use the built-in designer to graphically arrange and customize the widgets- video on my site:
- use the Developer's Kit to build your own widgets using any .net language
- use Excel or some other DDE aware application- even Word!
- write your own DDE aware application
I've already abstracted all ViewPort functionality into a dll- this upcoming release of ViewPort includes the same "vp.dll" that 12Blocks and PropScope use. Documenting it for general consumption is a different matter... Keep in mind that you also have access to me- either you can convince me that your feature is a good thing for the community or you can convince me by buying shoes for my wife...
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!
I do not know much about PC programing, but Viewport seems very CPU intensive pushing my Pentium D805 2.66 (running @3.02GHz) with 2GB Mushkin DDR2 to a maximum of 95% and causing my display to flicker (along with the desktop icons) as if it's about to crash my system. Is there a setting i can change in an .ini or config file to utilize my Nvidia 8800Ultra more? It supports DX10 and OpenGL 2.0 natively.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quicker answers in the #propeller chat channel on freenode.net. Don't know squat about IRC? Download Pigin! So easy a caveman could do it...
http://folding.stanford.edu/ - Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
Great that you went through the PEKit, Andy has done a fantastic job with it.
ViewPort's cpu usage is dependent on your pc's speed and the size of the ViewPort window. It runs fine on my dad's 500mhz pentium but it's refresh rate is low. On faster machines it's frame rate will increase. It should play nice with other programs- it's threads are at normal, or below normal priority. On my dual core 2ghz machine it uses <30% cpu in lsa view, full screen 1600x1024 mode. Which view are you using, what size screen?
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!
Granted I have not used Viewport extensively, but am I correct to assume that debugging is only possible within one cog at any one time?· It seems that more complex applications using multiple cogs that interact with each other would benefit the most from a debugger or simulator tool.
Personally, nirvana to me would be·a full simulator that emulates all operation of the chip, including system clock and cog hub access.·
- let's you share multiple non-contiguous variables and even arrays, in addition to sharing all the existing datatypes. Should make "photomangk" and many others happy.
- has a "Client Kit"- video, download and info here: http://mydancebot.com/viewport/clients.php
I've included sample clients that can monitor and change spin variables and arrays in these languages: python, vb.net, c#.net and excel
- uses less of your cpu
- Spinner has been renamed to 12Blocks and is getting more advanced, see more here: 12blocks.com
- I'm starting to play with ViewPort on my Ubuntu system. "Visual studio"-like debugging support under Linux, only more fun.
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!