KB-127716: Comparing projects

Comparing projects

Note

The Cognex Sensors comparator carries out the comparison (barcode readers only) based on the following data:

  • Configuration data (*.cfg)
  • Configuration data (*.cdc)
  • Text files for comparison (*.cfg.txt)
  • Text files for comparison (*.cfg.txt)

The following variables are excluded from the comparison:

If the CAMERA.AUTO-REGULATION rejects the value ON, CAMERA.EXPSURE-US, CAMERA.EXPOSURE and CAMERA.GAIN needs to be ignored. These values exist in every read setup.

Starting up successful read setup:

If SETUP.START-WITH-LAST-READ accepts the value ON, the reader will start a new trigger cycle. In this instance, the SETUP.START-WITH-SETUP value has to be excluded from the comparison.

** match string +++/—**:

There is a possibility to stop the data validation process by using a comparative string with an increasing or decreasing number (for example, Part000, Part001, Part002). If the first return value from ** DVALID.MATCH-STRING-PARAMS gives you the value ON, the value of DVALID.MATCH-STRING then changes. In this instance, the value DVALID.MATCH-STRING** has to be excluded from the comparison.

The following restrictions apply when comparing:

  • The contents of DMB files cannot be compared.
  • Comparisons of DMB, CDC and CFG files are only possible in binary form.
  • The text files contained in the backup of a device can be compared. They cannot be generated from projects.
  • Disaster recovery is possible with the CDC and CFG files. A DMB file contains CDC and CFG files.

Last update: September 15, 2023

Related Articles

IMPRINT | PRIVACY POLICY | COOKIE POLICY

Privacy Preference Center