How to Read a PDF417 Code

NI Vision Builder

Identify Parts

How to Read a PDF417 Code

Use the Read PDF417 Code step to decode a PDF417 barcode.

Main Tab

  1. In the Step Name control, enter a descriptive name for the step.
  2. Choose one of the following methods to specify the region of interest for the step:
    • Create a new region of interest.
      1. Select Constant from the Region of Interest listbox.
      2. Select a tool from the menu toolbar that matches the type of region of interest you want to specify.
      3. Draw a region of interest on the image.
    • Select a previously defined region of interest from the Region of Interest listbox.
  3. Verify that the Reposition Region of Interest option is enabled if you want to link the region of interest specified in this step to a previously defined coordinate system.

    Link the region of interest to a coordinate system if the position of the object under inspection changes from image to image, and you need to adjust the position of the region of interest to match the new location of the object.

Limits Tab

  1. If you want to compare the decoded data to a constant, enable the Code Equals control and enter a string that the decoded data must match. If you want to verify that the barcode contains a specific string, enable the Code Contains control and enter the string.