CalibrateTruCheck

The CalibrateTruCheck function allows you to perform TruCheck calibration on an IDCode structure. Returns a TruCheckCal structure.

Note: Make sure that you only enable the cell holding the CalibrateTruCheck function when you are performing calibration. Once the calibration is complete, disable the CalibrateTruCheck function before performing verification to prevent unwanted recalibration and ensure that the correct calibration data is used.

For an example of the CalibrateTruCheck function in use, refer to the TruCheck_Calibration.cxd snippet file in the C:\Program Files (x86)\Cognex\In-Sight\In-Sight Explorer 6.3.2\Snippets\ID directory.

You can save CalibrateTruCheck data to a file using the ExportData function, or load CalibrateTruCheck data from a saved file using the ImportData function.

CalibrateTruCheck Inputs

Syntax:CalibrateTruCheck(IDCode, WhiteReferenceValue, BlackReferenceValue)

Parameter Description
IDCode A reference to an ID tool that is set to read a symbology that TruCheck supports.

White Reference Value

The reference light value (Rmax) from the calibration target.
Black Reference Value The reference dark value (Rmin) from the calibration target.

CalibrateTruCheck Outputs

Returns

A TruCheckCal structure containing calibration data.