XML Settings File

The settings file, Go2GenTL.xml, resides in the same directory as the Gocator GenTL driver. Users can set the resample mode and output format by changing the setting in this file.

Element

Type

Description

ResampleMode

32u

Settings to disable or enable resampling mode:

0 – Disable

1 – Enable

When resampling mode is enabled, the GenTL driver will resample the height map so that the pixel spacing is the same in the X and Y axis. The default value is 1.

DataFormat

32u

Settings to choose 16-bit RGB or 16-bit grey scale image output:

0 – 16-bit RGB Image

1 – 16-bit grey scale Image

The default value is 0.

OverrideImageWidth

OverrideImageLength

32u

If Halcon is consuming the output of a multi-sensor system or of a tool such as Surface Stitch, that is, where multiple frames are combined, you should set OverrideImageWidth and OverrideImageLength to the maximum expected size.

OverrideImageWidth = image width / X resolution

OverrideImageLength = image length / Y resolution

Otherwise, leave the default of 0.

RawPartDetectionHeightThreshold

RawPartDetectionMaxLength

Float

If the Gocator sensor is in Profile mode, the GenTL driver converts the profiles the sensor produces into an image that Halcon can process, using these settings.

RawPartDetectionHeightThreshold: Detects the start and end of a part when scanning. When data points in the profile go over this threshold, the driver starts concatenating the profiles. As soon as no data points are above this threshold, the driver stops concatenating profiles.

RawPartDetectionMaxLength: The maximum length of a part.

Either condition (data points going back below the threshold or maximum length reached) will stop profile concatenation for the part.

DataCapacity 64u The amount of memory, in bytes, used for buffered data. Adjust this depending on the needs of the GenTL consumer.