Forums > Jitter

data matrix from text file shows strange values

June 30, 2011 | 12:44 am

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


June 30, 2011 | 7:11 am

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.


June 30, 2011 | 2:31 pm

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


July 16, 2012 | 4:37 am

Two dimensional barcode control supports DataMatrix barcode creating!

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


March 14, 2013 | 7:51 am

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


July 7, 2013 | 8:27 pm

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


July 28, 2013 | 9:21 pm

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.


October 24, 2013 | 12:40 am

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!


May 27, 2014 | 2:41 am

apart from data matrix, is it possible for other 2d barcode scanning, like qr code?


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