--- title: "条形码扫描仪单元测试" slug: "barcode-scanner-unit-tests-1" updated: 2026-10-22T17:57:01Z published: 2026-10-22T17:57:01Z canonical: "support.tulip.co/barcode-scanner-unit-tests-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # 条形码扫描仪单元测试 ## 条形码扫描仪单元测试 *使用此应用程序可测试您的条形码扫描仪是否已正确设置且运行正常* Barcode Minimum Length On versions before r332/LTS 15, the min length is 3. After r332, the minimum length is 1. **目的** “条形码扫描仪单元测试”应用程序旨在让用户测试其条形码扫描仪是否连接正确且运行正常。该应用程序专为测试通过 USB 连接至 IO 网关,或直接连接至运行 Tulip 播放器的计算机的条形码扫描仪而设计。 **应用程序视频概述**[Embedded content](https://www.youtube.com/embed/LT8zldFjWQQ) **设置** 要使用本应用程序,必须配备一台条形码扫描仪。根据您对条形码扫描仪的设置方式,可能还需要一个 Tulip IO 网关。 Tulip IO网关的设置说明请参见[此处](https://support.tulip.co/docs/setting-up-a-tulip-io-gateway) 条形码扫描器的设置说明请参见[此处](https://support.tulip.co/docs/how-to-set-up-a-barcode-scanner) **工作原理** 本应用程序旨在测试您的条码扫描仪是否已连接且运行正常。打开应用程序后,用户将看到一个显示灰色方框的界面,并附有扫描二维码的说明。 用户扫描二维条形码后,如果设备连接正确且运行正常,灰色方框应变为绿色,并在方框内显示二维条形码数据。否则,用户可访问一篇支持文章,其中提供了有关如何设置条形码扫描仪并使其正常运行的相关说明。