Difference between revisions of "HALCON integration"

From 3D scanning Knowledge base - Photoneo wiki
Jump to: navigation, search
Line 9: Line 9:
 
:located in C:\Users\Public\Documents\PhoHalcon\ with HDevelop
 
:located in C:\Users\Public\Documents\PhoHalcon\ with HDevelop
  
;4)launch PhoXiControl (PhoXiControl must be running in order to call API functions)
+
;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)
+
;5) Start our HALCON example (it connects to the last scanner in PhoXiControl)
  
;6) change open_framegrabber (AcqName, 1, 1, 0, 0, 0, 0, 'default', -1, 'default', -1, 'false', 'default', 'yyyy-mm-xxx', -1, -1, AcqHandle) to scanners serial number
+
;6) Change 'XXXXXXX' open_framegrabber (AcqName, 1, 1, 0, 0, 0, 0, 'default', -1, 'default', -1, 'false', 'default', 'XXXXXXX', -1, -1, AcqHandle) to the scanners ID

Revision as of 14:36, 6 August 2018

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)%HALCONROOT% and %HALCONARCH% enviroment variables should be set
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) Change 'XXXXXXX' open_framegrabber (AcqName, 1, 1, 0, 0, 0, 0, 'default', -1, 'default', -1, 'false', 'default', 'XXXXXXX', -1, -1, AcqHandle) to the scanners ID