LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a Zebra scanner such as DS4608-SR with labview?

Was wondering if anyone had any experience in creating a driver for the Zebra scanner DS40608 or anything similar? Comes with a SDK. Thanks.

0 Kudos
Message 1 of 4
(2,085 Views)

It works just like ti is. All you need to do is look for key down operation in the event structure.

 

Like this:

aeastet_0-1615405015117.png

I use these in a few places. It is very easy and does not require an SDK or anything. Make sure the VI that you put this in is set to modal so you are getting the update in this vi.

Tim
GHSP
0 Kudos
Message 2 of 4
(2,067 Views)

Hi Tim,

Is it possible to provide a vi example that I can download?

0 Kudos
Message 3 of 4
(496 Views)

I have used 1D and 2D barcode scanners for _years_ without the need for SDK's or API's. Of course I have never needed to do anything complicated with them other than capture serial numbers and part numbers.

You can treat them exactly like keyboard entries.

The one recommendation I have is to configure your barcode saner to append a <CR> to the bar code. That makes processing the input much easier. IE you do not need to process each character, just process the whole scan, just like entering it from the keyboard.

 

TL;DR: Treat the barcode scanner like a keyboard. If it works with keyboard input, it will work with the scanner.

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 4 of 4
(463 Views)