Forums > MaxMSP

Bar Code Reader?

April 26, 2006 | 4:30 am

I am helping a friend with an interactive project in which he wants to select some media using a bar code reader as an interface.
I appretiate some hints about it:
How to bring the input to Max?
is the input "text" or keyboard inputs?
Do I have to use the "hi" object?
would you recomend some specific brand or model?
I have heard the "Symbol’ is good.
Thank you!
marlon


April 26, 2006 | 5:17 am

There are dozens of them. Mostly a barcode reader is a keyboard device, and a barcode is a sequence of characters in a barcode font.

You should be able to enter characters from a barcode reader in all the same ways you can enter keyboard generated text. You just need to set it up with your system.

-A


April 26, 2006 | 5:18 am

typically most bar code scanners output text as though it was typed
rather quickly – at least the ones ive seen for OS X that my old
place of employment used.

im not sure if ‘key’ will read it, but it should dump text to a text
box when the trigger is pulled.. although ive never tried hooking
one up to max.

btw, hiya ;)

v a d e //

http://www.vade.info
abstrakt.vade.info


April 26, 2006 | 12:01 pm

hi marlon,

i did something like that some time ago using a metrologic scanner.
the easiest way is to get one with a usb connection, it then works
like a keyboard and you just use the ‘key’ object to get the data and
then transform the character codes to (list of) numbers.
take this sniplet of code, it generates a list of numbers for every
incoming barcode. (it assumes that the scanner sends a return
character after each barcode.)

hope that helps,
chris

max v2;
#N vpatcher 192 60 592 360;
#P outlet 71 230 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 71 125 29 196617 – 48;
#P button 221 125 15 0;
#P newex 71 145 60 196617 zl group 13;
#P newex 71 106 165 196617 if $i1 == 13 then out2 $i1 else $i1;
#P newex 71 47 40 196617 key;
#P newex 71 82 224 196617 if $i1 >= 48 && $i1 < = 57 || $i1 == 13 then
$i1;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 5 0;
#P connect 4 0 3 0;
#P connect 5 0 3 0;
#P connect 3 0 6 0;
#P connect 2 1 4 0;
#P pop;


April 26, 2006 | 1:03 pm

Thank you so much for the patch and info!
m


April 26, 2006 | 1:04 pm

I will start trying!
Thank you!
m


November 29, 2012 | 3:00 am

Will have a try of the barcode reader


July 24, 2013 | 7:38 pm

I used this barcode reader before. Share it with you. It supports many kinds of barcode types.


October 17, 2013 | 2:52 am

hello, MARIAH, thank you for your sharing,

http://www.keepautomation.com/products/java_barcode_reader/

I checked the link you shared, it is all about java barcode reader, and I found this:

http://www.keepautomation.com/how_to/vbnet/

it is about VB.NET barcode generator, so,
can you give more info about .net barcode reader or generator?
thanks in advance.


July 3, 2014 | 11:45 pm

clintonzz, i think you will find a .net barcode reader by that link you give, but if you are not satisfied with that, you can refer to this vb.net barcode reader. hope it is what you are looking for.



MJ
July 4, 2014 | 4:58 am

hi

There is a barcode reader+creator maxproject in http://www.deceasedunfinishedprojects.nl.
With a patch. in here.

  • This reply was modified 3 weeks by  MJ.

Viewing 11 posts - 1 through 11 (of 11 total)