Knowledge Base

View Categories

A/B Compare Barcode Matching

Optimize Your Barcode Matching with A/B Compare

The A/B Compare feature in CodeREADr enables seamless barcode or text value matching. This guide explains how the feature works, device compatibility, and the various matching options available to enhance accuracy and efficiency in your operations.

How Does A/B Compare Work for Barcode Matching?

The A/B Compare feature allows app users to match two or three barcode or text values:

  1. Primary Scan: The user scans the barcode of the first item (e.g., from a list or asset).
  2. Secondary Scan: The user scans the barcode of the target item for validation.
  3. Results Display:
    • If the barcodes match, a green “Valid” screen appears.
    • If the barcodes do not match, a red “Invalid” screen appears.

Optional Data Collection: If a match is valid, users can collect additional data to include in the formal scan record.

Key Terms to Understand

Device Compatibility

This technology is designed to work with:

  • Built-in Cameras: Available on iOS and Android devices.
  • Dedicated Scanners: Supported scanners include models from Honeywell and Zebra.

Dedicated Scanner Advantages:

  • Use keyboard emulation mode with a CR/LF suffix to enable rapid, sequential scanning without needing to tap the screen.

Barcode Matching Options

The barcode matching script works online or offline.

1. Record Scans: Match Primary Scan to Question Scan

  • Compares the initial scan (A) to a question-answer scan (B).
  • Validation Outcome: If A matches B, the record is marked as valid.

2. Validate Scans: Match Primary Scan to Question Scan

  • Validates the primary scan (A) against the associated database.
  • Compares the primary scan (A) to the question-answer scan (B).
  • Validation Outcome: If A matches B and is present in the database, the record is valid.

3. Validate Scans: Match Primary Scan or Question Scan to Response Text

  • Validates the primary scan (A) against the associated database.
  • Matches the primary scan (A) or question-answer scan (B) to the response text stored in the database.
  • Validation Options:
    • Exact match: A must exactly match B.
    • Partial match: A matches a specific string within B.

4. Database Structure:

Ensure that:

  • Column 1 contains the primary scan value (A).
  • Column 2 contains the expected response (B).

Work Online or Offline with Custom On-Device Validation (COV)

The A/B Compare feature works both online and offline using the Custom On-Device Validation (COV) feature.

How to Use:

  • Edit the matching script to fit your use case.
  • Paste the script into the Advanced step when creating or editing your services.