06-19-2012 03:13 AM
Dear All,
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.
Best Regards,
06-20-2012 09:52 AM
Hello,
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?
Regards,
Jérémy C.
NI France
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 ).
Best Regards,
06-21-2012 09:53 AM
Hello,
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.
Regards,
Jérémy C.
NI France
06-22-2012 11:38 PM
Hello
please check the attach file and inform me if it is possible.
thank you
06-25-2012 07:36 AM
Hello,
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.
Regards,
Jérémy C.
NI France
07-06-2012 11:17 PM
Hello,
in your vision assistant project you use the clamp (rake) and max clamp tool . i need to show all of the tools that detected in picture in vb.net
thank you