HALCON integration

From 3D scanning Knowledge base - Photoneo wiki
Revision as of 11:22, 8 August 2018 by Juranek (talk | contribs) (How to use PhoXi 3D scanners through HALCON)

Jump to: navigation, search

How to use PhoXi 3D scanners through HALCON

1) Download and install softwares from the Photoneo website
PhoXiControl 1.1.41
HALCON13 1.1.8.1 (for HALCON12 1.1.3.1 - see Older downloads)
2)Setting environment variables
In windows go to Control panel\System and Security\System here click on

Env var.png %HALCONROOT% and %HALCONARCH%


3) Open example file hAcqPhoXi.hdev
located in C:\Users\Public\Documents\PhoHalcon\ with HDevelop.
4) Launch PhoXiControl (PhoXiControl must be running in order to call API functions)
5) Start our HALCON example (it connects to the last scanner in PhoXiControl)
6) Edit open_framegrabber (AcqName, 1, 1, 0, 0, 0, 0, 'default', -1, 'default', -1, 'false', 'default', 'DeviceValues[0]', -1, -1, AcqHandle)
Change 'DeviceValues[0]' to the scanners ID you want to connect to.