Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW and Halcon

Highlighted

Thank you so much .Your code is helpful for me and i will learn it seriously.

0 Kudos
Message 21 of 47
(1,902 Views)
Highlighted

Thank you for sharing.It helped me a lot.

0 Kudos
Message 22 of 47
(1,271 Views)
Highlighted

Can I  display a halcon object(image) using LabVIEW  IMAQ image control ?

thank you for your reply.

0 Kudos
Message 23 of 47
(1,227 Views)
Highlighted

Yes, of course. Take a look at this example: https://forums.ni.com/t5/Machine-Vision/LabVIEW-and-Halcon/m-p/3680567#M50159 After you have read the resulting image out with MoveBlock, you have 2D array which could be passed to IMAQ ArrayToImage VI directly. Obviously you can do that with HImage anytime you want.

0 Kudos
Message 24 of 47
(1,219 Views)
Highlighted

HI dadreamer,

        The example tell me how to convert LabVIEW image to  HImage. But not ,I want to know  how to conver HImage to LabVIEW image.  Thank you for your reply.

0 Kudos
Message 25 of 47
(1,215 Views)
Highlighted

2019-07-09_14-19-39.jpg

0 Kudos
Message 26 of 47
(1,211 Views)
Highlighted

Wonderful  !You’ve helped me a lot. Thank you very much.

0 Kudos
Message 27 of 47
(1,187 Views)
Highlighted

Because LabVIEW.dll in CIN is specified by name, not by path, when I compile the program to exe, LabVIEW. DLL will not be copied to the compiled program folder together. When I run exe on another computer,  can't find LabVIEW. dll, the error of cannot find DLL will occur at the function of LabVIEW: DSNewPClr/ LabVIEW: MoveBlock/ LabVIEW: DSDisposePtr. Can you tell me which  path LabVIEW. DLL exists in the computer? I can manually copy it to another computer.

0 Kudos
Message 28 of 47
(1,047 Views)

"LabVIEW" is a reserved keyword in CLFN path setting and tells LabVIEW compiler to link against the current running labview.exe process. That is true for IDE mode. Regarding RTE (exe) mode, the main process loader links to lvrt.dll, which is a part of LabVIEW Run-Time Engine. So I assume, you should have LV RTE package installed on that machine, where you run your exe, and that will do the trick. No any additional libraries or file manipulations needed. Just keep in mind, that you need to install RTE of the same version, which LabVIEW had, when you built your program.

0 Kudos
Message 29 of 47
(1,021 Views)
Highlighted

I confirmed that LabVIEW Runtime 2017 (64 bit) was installed on the new computer, but the situation was the same. LabVIEW: DSNewPClr / LabVIEW: MoveBlock / LabVIEW: DSDisposePtr could not be found.

0 Kudos
Message 30 of 47
(1,003 Views)