Code verification

What is code verification?

Code verification is an industrial identification check of code quality and/or expected value according to the applicable verification method. It goes beyond reading encoded data. A scanner can read a machine-readable code, while verification applies a separate assessment to determine whether the code meets the required criteria.

At a glance:

  • Verification checks code quality and/or expected value according to the applicable method.

  • A barcode reader reads machine-readable codes, but reading alone does not establish formal print-quality verification or complete traceability.

  • In a generic end-of-line sequence, coding comes before vision inspection and verification, followed by reject or divert systems.

  • Vision systems use cameras or sensors and configured logic to evaluate visible features such as label presence, position, print or code appearance.

What does code verification check?

Code verification can assess two things: code quality and expected value. The applicable verification method determines the basis for the assessment.

Code quality

Code quality concerns whether the code meets the print-quality criteria required by the applicable method. A barcode or 2D code may be readable by a scanner without having passed a formal verification assessment.

This distinction matters because successful decoding answers a reading question: can the reader obtain the encoded information? Verification applies additional criteria to assess the code itself.

Expected value

A verification requirement can also check whether the decoded value is the value the production process expects. This is different from simply recording whatever information the reader captures.

For example, a reading function may return encoded data successfully, while an expected-value check asks whether that returned data matches the value configured for the verification task.

Define the verification requirement first

Before specifying the equipment, define whether the line needs reading, a formal print-quality assessment, an expected-value check, or a combination of these functions.

These requirements should not be treated as interchangeable. Some code-reading or vision equipment can provide information about code condition or relative print quality without acting as the formal verification method required for another application.

When code verification is needed: Select verification when the production requirement calls for an assessment beyond successful decoding. If the only requirement is to capture encoded information, barcode reading may be sufficient. If the requirement is to assess the code against defined criteria, a verification function is needed.

Where does code verification fit in an end-of-line sequence?

In a typical end-of-line automation sequence, print-and-apply or coding comes before vision inspection and code verification. Reject or divert systems follow this stage.

Verification therefore takes place after the relevant code has been created or applied. The result can then form part of the line logic used before the product continues to downstream handling.

The verification equipment does not need to perform every neighbouring function itself. Printing or coding creates the information, verification assesses the required criteria, and a separate reject or divert arrangement can handle products that do not meet the configured requirement.

How does code verification differ from barcode scanning and vision inspection?

Barcode scanning, code verification and vision inspection can appear within the same identification systems, but they answer different production questions.

Scanning reads encoded information. Verification assesses the code against the required verification criteria. Vision inspection evaluates configured visible features.

Barcode scanning

Barcode scanning captures information encoded in a machine-readable code. On production lines, fixed mount barcode scanners can perform the reading function, but a successful read alone does not establish formal print-quality verification.

Scanning alone also does not create a complete traceability process. It provides identification data at a particular capture point, while traceability depends on how that information is associated with wider records and events.

This is why “the scanner can read it” and “the code has been verified” should not be used as equivalent statements.

Vision inspection

Vision inspection uses cameras or sensors with configured inspection logic to evaluate visible features. Examples include label presence, label position, print appearance and code appearance. 

Vision inspection can therefore answer questions that a barcode-reading task does not, such as whether a label is present or positioned as expected.

The exact capability still depends on the configured system. A visual or relative print-quality check should not automatically be described as formal code verification unless it performs the required verification assessment.

How is industrial code verification different from computational code verification?

In industrial identification, code verification refers to the assessment applied to a machine-readable code. 

Scientific computing uses the phrase differently. Computational code verification assesses whether software correctly represents and solves the underlying mathematical model, including the implementation of numerical algorithms and possible coding errors.

Those computational methods belong to a different technical discipline and should not be transferred into claims about industrial barcode or identification systems.

The phrase can also refer to account authentication and one-time verification codes. That is another separate meaning. Industrial code verification, by contrast, refers specifically to industrial identification and quality-control applications. 

ALS Identify quality assurance systems for code verification

For production lines that require code reading, inspection or verification, ALS Identify supplies and integrates identification and inspection technology as part of wider end-of-line systems.

Review quality assurance systems to define the required verification function and how it should fit with coding, vision inspection and downstream handling.

Share this article:

Table of Contents

Get Your Personalised Quote today!

Fill out our simple form to request a personalized solution. Our team will review your needs and get back to you with a detailed plan tailored to your business.