Barcode Compare Software Tutorial: Production Line Error-Proofing with Three-Color Alarm Light Integration

πŸ“… 2026-08-07 🏭 Xinlong IoT Engineering Team ⏱ 6 min read

Scanning the wrong material on the line or shipping the wrong goods from the warehouse is often "just one barcode" away. Xinlong barcode compare software connects a scanner over serial and compares each scanned barcode against preset standard barcodes in real time β€” green when it matches, red alarm with latch when it doesn't β€” and pairs with a three-color alarm light for long-distance alerts. In minutes you can build a low-cost, zero-learning-curve error-proof verification station. This tutorial walks you through the whole flow from installing the software to going live.

Scanner and barcode compare software error-proof application

Serial scanner + compare software + alarm light = standard error-proof station

1. What the Software Can Do

2. Three Steps to Start Scan-to-Compare

1. Connect the Scanner

Connect the scanner to the PC with an RS232 serial cable (or USB-to-serial) and install the driver. Open the software, select the scanner's COM port in the Serial Settings section β€” the dropdown shows device names such as COM5 - USB-SERIAL CH340 for easy identification β€” with the baud rate defaulting to 9600. Click Open Serial Port and it turns green "Connected". The software refreshes the port list every 3 seconds, so hot-plugging the scanner is always recognized.

2. Set Standard Barcodes

Choose any of three ways:

3. Start Scanning

Just scan product barcodes: correct shows a big green box "βœ“ Correct"; wrong shows a big red box "βœ— Error" with an alarm. For continuous work, set the auto-clear seconds in Options (e.g., 2 seconds) so the result resets automatically after display and the line never stops.

3. Three-Color Alarm Light Linkage (Key Feature)

The alarm light connects to the PC via a dedicated light-control serial port, independent of the scanner port. Select the port in the Light Control section and click Open Light Control to use it:

πŸ’‘ Error-proof closed-loop logic
Scan error β†’ alarm latch β†’ manual confirmation and handling β†’ press "One-Key Reset" β†’ scan again and counting resumes. Mandatory human intervention throughout eliminates "fudged" scanning and keeps data truthful.

4. Records, Statistics & Export

Every scan is auto-logged in the Scan Records list with real-time totals for count/correct/error. Click Export Records to produce a CSV file (opens directly in Excel, with company header, all records and statistics); the software also auto-generates daily logs for monthly traceability and quality analysis.

⚠️ Common issues: garbled scans β€” check that the baud rate matches the scanner; "port in use" β€” close other serial tools; an alarm that won't stop after an error is the latch design β€” press "One-Key Reset".

Free Download

Barcode Compare Software v1.9 portable edition (with detailed instructions) β€” download and use immediately; you can also contact Xinlong to customize software features.

⬇️ Go to Downloads Page