CalibrateTruCheck
The CalibrateTruCheck function allows you to perform TruCheck calibration on an IDCode structure. Returns a TruCheckCal structure.
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. |