Skip to content

FocalSpec 3D Line Confocal Sensor

Note

It is required to install the FocalSpec Software Development Kit v2.5.1, and add the directory of the SDK library to the system environment variable Path (the default path is C:\Focalspec\FocalSpec Software Development Kit\API\x64) Set Environment Variable

ParameterTypeDescriptionDependency
Camera IDEnumerationSpecify the ID of the camera
Recipe FilePathSpecify the camera configuration recipe file
Calibration. X-axis Calibration FilePathSpecify the X-axis calibration file of the camera; use the camera's internal calibration file if left blank
Calibration. Z-axis Calibration FilePathSpecify the Z-axis calibration file of the camera; use the camera's internal calibration file if left blank
Surface Selection. SortingEnumerationSet the sorting method of surface layers: Brightest Top Layer, Top Layer, Bottom Layer
Surface Selection. IndexIntegerSet the index of the selected surface layer, range: 1-10
Frequency Limit. Restricted by Z-axis RangeBoolean (Switch)Set whether to use the Z-axis Range to automatically adjust the frequency limit
Frequency Limit. FrequencySet the frequency limit; triggering frequencies higher than this limit may result in trigger lossFrequency Limit. Restricted by Z-axis Range = Off
Frequency Limit. Z-axis RangeSet the Z-axis imaging range; the smaller the range, the larger the frequency limit value. The maximum value is determined by the camera model; an excessively large value will cause an errorFrequency Limit. Restricted by Z-axis Range = On
Number of RowsIntegerSet the number of rows for point cloud generation
Y-axis Point SpacingFloatSpecify the Y-axis point spacing
Remove Invalid PointsBoolean (Switch)Set whether to enable the function of removing invalid points; an unordered point cloud will be output after removing invalid points

Camera Usage

Camera Preparation

  1. Ensure the IP address of the camera controller and the network card are in the same subnet.
  2. Verify that images can be captured using the official camera software and meet the desired results. Capture Image with Official Camera Software
  3. Save the camera configuration file Save Camera Configuration File When saving a recipe for the first time, you will be prompted to enter a recipe name. Recipes are saved in the C:\Focalspec\SDK Recipes directory by default, with the file type json. Saved Parameters Only the parameters in the position shown in the figure above will be saved to the recipe. Click Apply after modification to make the configuration take effect and save it.

Add and Connect Device

Tip

Please close the official imaging software before connection to avoid mutual interference.

Add and Connect Device

Imaging Test

Imaging Test

AI-Vision, Making 3D Measurement Easier