Machine Vision

Showing results for 
Search instead for 
Did you mean: 

LabVIEW and Halcon

Thank you very much for the programming development of LV adjustable visionpro. Please give me your guidance

0 Kudos
Message 61 of 67

LabVIEW calls hdev program. Is there any routine in this regard? Please give guidance. Thank you

0 Kudos
Message 62 of 67

If I understand your message right, this example should more or less suit your needs:

0 Kudos
Message 63 of 67

This routine is not very clear. Is there a more clear routine for LabVIEW calling hdev script

0 Kudos
Message 64 of 67

Well, then maybe you could study some materials on HALCON-LabVIEW interaction, that MVTec sent me years ago. They are based on LabVIEW 2012 and HALCON 12.0, hence some information (as to the available operators, their names/prototypes or their behaviour) is likely outdated. Some useful pieces are there anyway, so check it out.

0 Kudos
Message 65 of 67

Uploading a program example here is very complicated by encapsulating function calls through Halcon. I want to call hdev script directly through LabVIEW, which will be simpler. Please take a look at this routine and give me some suggestions

0 Kudos
Message 66 of 67

I only know, how to call HALCON procedures (*.hdvp). Not sure, whether it's even possible to call *.hdev scripts outside of HDevelop, as some operators are often tied to its internal objects like the graphics window, so the counterparts should be used instead (if any). I would suggest to rewrite your script as a procedure to be called from LabVIEW or you could stick with traditional way of calling the operators with .NET nodes from the diagram (as done in your samples above). Of course, you can always reach MVTec or the local distributors to get assistance for your tasks (a valid license is required).

0 Kudos
Message 67 of 67