Machine Vision

取消
顯示結果 
搜尋替代 
您的意思是: 

Interface cognex developed application to Labview

Hello all,

 

In my application due to customer requirement we are using cognex quick build for image process and labview as front end.

 

Can anyone guide me how to call a cognex jobcode  *.vpp from the Labview.

 

I am using labview 7.1

0 積分
1 條訊息(共 21 條)
11,067 檢視

HI ,

 

Have you got solution ?

0 積分
2 條訊息(共 21 條)
9,793 檢視

I don't think you can call a VisionPro file from LabVIEW direct. You would need to build it into the Visual Studio app or .NET assembly and then call it from there through the .NET api probably.

From what I rmember the VPP is just a configuration file for VisionPro to run. There may be a .NET assembly for VisionPro that you could then load the vpp file into and run, Much like you can do with VBAI.

 

Mike 

0 積分
3 條訊息(共 21 條)
9,788 檢視

HI MikeeB,

 

yes i need to run .vpp file using labview .net ,

 

but i am not able to connect labview with cognex, do you have any labview example file for labview + cognex quick build using .net 

0 積分
4 條訊息(共 21 條)
9,773 檢視

Sorry I don't have access to VisionPro anymore. I would look at the VB.NET examples that come with it to try and find one that loads in a .vpp file and then runs it.

Then use the .NET example Calling a Private .NET assembly VI you should be able to see how to call the relevant methods.

 

Good Luck

Mike

0 積分
5 條訊息(共 21 條)
9,750 檢視

HI Mike ,

 

 

i have used .net platte to run .vpp file.

 

but i am not able to get output image and .vpp file output .

 

How to get process image output and results of the .vpp file

 

cog.PNG

 

 

 

0 積分
6 條訊息(共 21 條)
9,747 檢視

There should be a results object that you can retrieve from the job manager after that. You should also be able to reference the image output of a step. This is all from memory as I haven't used this in 10+ years

 

Sorry I can't be more exact

 

Mike

0 積分
7 條訊息(共 21 條)
9,738 檢視

Mike ,

 

thanks for the reply 

0 積分
8 條訊息(共 21 條)
9,735 檢視

can you share  your Vi to me ,  I want to know how to call VPP  in labivew .

 

wenluderen@gmail.com  is my  E-mail. 

 

Thank  you 

0 積分
9 條訊息(共 21 條)
8,545 檢視

Will you implement visionpro call with LabVIEW.net, can you give an example program, I now use "loadobjectfromfile" but unsuccessful, thank you!

0 積分
10 條訊息(共 21 條)
8,448 檢視