data matrix from text file shows strange values

Jun 30, 2011 at 12:44am

data matrix from text file shows strange values

Hello!
I have a txt file of comma delimited data that I am plugging into a matrix. The goal is to get color fields as a result. If I use char data in my txt files (values between 0 and 255), my numbers get converted to a set somewhere between 0 and 50. Why is this happening?
Is there a way to import a file with numbers and expect that those values (higher or lower) will correlate in some way to the argb values presented in the jit.pwindow?
I’ve pasted the patch and below are the contents of the kind of files it uses, and below that is the odd data that I receive in the print window as a result.

Thanks in advance for your help.

– Pasted Max Patch, click to expand. –

data in:

255 ,5 ,10 ,15
0 ,20 ,25 ,30
255 ,35 ,0 ,45
0 ,55 ,65 ,75
255 ,85 ,95 ,100
0 ,200 ,100 ,250

data out:
jit.print: 50, 53, 53, 32, 44, 53, 32, 44, 49, 48, 32, 44, 49, 53, 32, 0, 0

jit.print: 48, 32, 44, 50, 48, 32, 44, 50, 53, 32, 44, 51, 48, 32, 0, 0, 0

jit.print: 50, 53, 53, 32, 44, 51, 53, 32, 44, 48, 32, 44, 52, 53, 32, 0, 0

jit.print: 48, 32, 44, 53, 53, 32, 44, 54, 53, 32, 44, 55, 53, 0, 0, 0, 0

jit.print: 50, 53, 53, 32, 44, 56, 53, 32, 44, 57, 53, 32, 44, 49, 48, 48, 32

jit.print: 48, 32, 44, 50, 48, 48, 32, 44, 49, 48, 48, 32, 44, 50, 53, 48, 32

#57823
Jun 30, 2011 at 7:11am

you could just send your matrix like this:

– Pasted Max Patch, click to expand. –

you can skip the [jit.spill] in there. not sure why [jit.text] is changing your data. i’ve never used that object.

#207454
Jun 30, 2011 at 2:31pm

Drift,
You are fantastic! Thank you so much!
-Ann

#207455
Jul 16, 2012 at 4:37am

Two dimensional barcode control supports DataMatrix barcode creating!

http://www.keepdynamic.com/1D-2D/matrix-barcode-generator-vbnet.shtml

#207456
Mar 14, 2013 at 7:51am

Share a Data Matrix barcode generator which I am using now with you all:
http://www.onbarcode.com/vb_net/data-matrix-generator.html
It has detailed guide of generating barcode in VB.NET:

http://www.onbarcode.com/tutorial/vb-net-barcode-generation.html

#207457
Jul 7, 2013 at 8:27pm

you can try this barcode generator which can create data matrix barcdoe in c# and some other formats, good luck.

#255172
Jul 28, 2013 at 9:21pm

there are many ways to do that. If you wanna save these complicated steps and find a easy way, you can google barcode generator and you will find many useful tools, or google how to create barcode in c# to get instructive articles. Good luck:) I think some imaging sdk programmes can enable to quickly generate barcodes. i have use imaging sdkr which can original layouts hyperlinks, Images and tables retained in word ,text, image, Epub, html.but i forgot download the wedsite ,go to google. By the way , pay attention to your system platform, select the suitable one . I use a barcode generator driver found on the internet . Install it and it becomes a selectable option.Then you can generate barcodes in many formats in any program at all, including Adobe Acrobat . Just open the sdk, select barcode, and choice a form you want, then you can generate data martix barcode in c#, vb, asp ,etc ,the task will be finished in several seconds. if you haven’t found a good choice , you can have a try. best wishes.

#257413
Aug 13, 2013 at 1:05am

if you search on google, you can find many barcode generator related data matrix, which supports many platforms,such as data matrix in vb.net etc.

#258739
Oct 24, 2013 at 12:40am

I googled, Data Matrix is a very efficient, two-dimensional (2D) barcode symbology that uses a small area of square modules with a unique perimeter pattern, which helps the barcode scanner determine cell locations and decode the symbol. Characters, numbers, text and actual bytes of data may be encoded, including Unicode characters and photos.
I’ve a problem using barcode scanner API for OS 6.0

Here is my sample code to decode QRCODE :

Hashtable hints = new Hashtable();
Vector formats = new Vector();
formats.addElement(BarcodeFormat.QR_CODE);
hints.put(DecodeHintType.POSSIBLE_FORMATS, formats);
hints.put(DecodeHintType.TRY_HARDER, Boolean.TRUE);
BarcodeDecoder decoder = new BarcodeDecoder(hints);

All works fine with QRCode, but when I use the datamatrix format :

formats.addElement(BarcodeFormat.DATAMATRIX);?

I was unable to decode any datramatrix…

I use the current website to generate datamatrix : http://datamatrix.kaywa.com/?

Someone can help me?

Thanks!

#268973

You must be logged in to reply to this topic.