Example Code

Read HID barcode scanner

Code and Documents

Attachment

Introduction

This vi provides the ability to read barcodes from any HID bar code scanner. Ther is no extrea driver necessary.

The return values are the raw string, and can evaluated by any string methode.

Steps to Complete

Connect scanner via human interface device and it works.

Additional Notes

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Philip1
Member
Member
on

This is a good!!! scanner retrieval program. Thank you for this. I only have the LabVIEW basic package (2010). I have seen a few programs like this using the "event structure" (only available in higher cost LabVIEW packages) but this works well without it.

JVDubbs
Member
Member
on

Hi guys!  I'm late to this party, 5 years actually.  Anyone try this with Labview 2015 or 2016?  Or a more recent generation HID scanner?  I am thinking of buying an HID scanner and using this code.

Contributors