Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

show ni vision assistant tools in vb.net

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,

0 Kudos
Message 1 of 7
(3,850 Views)

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

0 Kudos
Message 2 of 7
(3,838 Views)

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,

0 Kudos
Message 3 of 7
(3,830 Views)

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

0 Kudos
Message 4 of 7
(3,825 Views)

Hello

please check the attach file and inform me if it is possible.

thank you

 

0 Kudos
Message 5 of 7
(3,819 Views)

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

0 Kudos
Message 6 of 7
(3,811 Views)

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

0 Kudos
Message 7 of 7
(3,796 Views)