Barcode scanner into Max
I want to make the scanner scan barcodes and trigger a sample for each barcode. I am having trouble on how to get the data in.
Should I use the hi object? or key?
When I use the coll object it reads the barcode and outputs the code correctly but I don’t know if those values can be used.
I am stuck and would love some advice, Thanks!
What is the barcode scanner you’re using? In my experience most are treated like keyboards that can just enter integers very quickly. So you could hook a [thresh] up to a [key] object that will collate all numbers within say, 25 ms, into a list.
Its an Acan USB barcode scanner. I just added in the thresh object and it worked. The numbers were printing in discrete values but the thresh just printed the whole barcode. Thank you sooo much! My project is due tomorrow and you have saved me lol. I have been stuck on this first step all day.
How does the USB barcode scanner read the image? Well, there is a linear photodiode within the scanner head. This photodiode can read the reflected light off the lines on the barcode. This reflection is a digital image that is then scanned electronically within the devise. When the image is scanned electronically, each bar on the barcode is converted to the corresponding number or letter.
The barcode scanner is connected to a PC or Mac and the scanner then sends the sequence of numbers and/or letters to the PC or Mac to populate the field of entry. This connection can be made in a number of ways. On way is with a keyboard wedge.
As for me, I am testing another barcode scanner these days. Do you have any ideas about it? Or any good suggestion? Thanks in advance.
Tags: barcode scanner