06-19-2012 03:13 AM
I have a testing project for distance calculating.
I have done this project in Vision assistant 2011 software and I create the vb.net 2008 project through Vision assistant 2011.
My problem is as below:
I need that the clamp tools or other tools to be shown in vb.net in defiend part as you can find in attachment.
We used 2 pictures in vision assistant as you can find in attachment.
Note : To run the vision assistant project correctly, you need to save this 2 pictures (up.bmp and down.bmp) in c:\c\up.bmp direction.
Please send me the code that show us the used tools (for example: clamp) in Nationalinstrument.vision.imageviewer component (vb.net 2008) after detection.
Your kind reply will be highly appreciated.
06-20-2012 09:52 AM
What do you mean by "I need that the clamp tools or other tools to be shown in vb.net"?
Do you want to show the elements drawn by the Vision Assistant in the "Form1.vb" of your VB project? Somewhere else?
06-21-2012 01:36 AM
Hello. Thanks for your reply.
You are right. As you told, I want to show the elements drawn by the Vision Assistant in the "Form1.vb" of our VB project.
You can find one of this elements in attached picture ( red border ).
06-21-2012 09:53 AM
In fact, what you're trying to do is like importing the tool of Vision Assistant in your VB project which means once the tools would have been converted in VB code, Vision Assistant should be useless.
I'm sorry but using tools of Vision Assistant in a VB project converted from a Vision Assistant sequence is not possible.
06-25-2012 07:36 AM
It seems that some of the tools' results are drawn on the picure. It also seems that only the last step in the .vascr is drawn.
I join an example. Tell me if it is what you would like to see in the form of your VB .NET project.