Example Code

Example program for reading Data Matrix bar codes with missing information

Code and Documents

Attachment

For manufacturing engineers who use Data Matrix codes for part identification, this example code shows how to use IMAQ Vision to read partially occluded Data Matrix codes.
For most applications, the size of the 2D code to be read is known. Sometimes, for a variety of reasons the code gets damaged. As the structure of the Locator template and the matrix size information is pre-known, the 2D code can be reconstructed. The example presented here illustrates how this can be accomplished using LV and IMAQ Vision.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors