Gocator Line Profile Sensors: User Manual
Tools and Native Drivers • 570
Halcon is now configured for use with Gocator.
Halcon Procedures
The Halcon example code contains internal procedures that you can use to decompose the RGB image
and to control registers that the GenTL driver opens.
You can import the procedures into your own code by selecting File > Insert Program > Insert Procedures
and then choosing the example code Continuous_Acq.hdev under the Examples/Halcon directory.
The Go2GenTL.xml file for Gocator 4.x has more fields than the Gocator 3.x version. Make sure
you are using the correct version.
The following section describes each of these procedures.
Procedures Description
Go2GenTL_
ParseData
The GenTL driver packs the height map, intensity and stamp information into a 16-bit RGB image.
The function is used to extract data from the RGB image.
For details on how the information is packed in the data, see the sections under GenTL Driver on
page 558.
The function accepts the image acquired from grab_image_async, and returns the height map,
intensity and stamps.
Parameters (Input)
Image: RGB Image acquired by using grab_image_async.
Halcon Procedures