Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display result of vision tools

I have builded a new script by NI Vision Assistant.I have transfered it to VI.In this script,I used straight line tool and builded two lines.With the tool of caliper,I defined the intersection of these two lines.This intersection was displayed in script of  Vision Assistant,but in vi ,it disappeared.How can I display it in my vi?Can anyone help?

0 Kudos
Message 1 of 4
(2,332 Views)

Hi Papigo,

 

 Once you finished the caliper, you would get the position of lines. So you can write code to draw lines by overlay function.

 

Capture.PNG

 

 

Thanks,

Ricky

 

0 Kudos
Message 2 of 4
(2,324 Views)

Thank you for your advice.It helps a lot.I added some overlays,and it worked very well.In this application,I have  only  two overlay to edit,but if in some application,I have 10 or even more to display.It would take much more work.So why do the system display the result in Assistant while undisplay it in vi? In VisonPro of Congnex,it dispays all results automatically by system.

0 Kudos
Message 3 of 4
(2,264 Views)

Hi,

 

You can share this idea under Vision Idea Exchange: https://forums.ni.com/t5/Vision-Idea-Exchange/idb-p/visionideas

0 Kudos
Message 4 of 4
(2,242 Views)