LEADTOOLS Support
Document
Document SDK Questions
Re: reading datamatrix and code128 simultaneously
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, April 11, 2012 2:54:47 AM(UTC)
Groups: Registered
Posts: 37
i'm trying to read datamatrix and code128 simultaneously with one call like this:
rc = L_BarCodeRead(bitmapHandle,
roi,
BARCODE_DM_READ_RECTANGLE | BARCODE_DM_READ_SMALL | BARCODE_DM_READ_SQUARE | BARCODE_1D_CODE_128,
BARCODE_SCANLINES_PER_PIXELS,
0, //default, no special flags
10,
&BarCode1D,
NULL,
NULL, //&BarColor,
&pBarCodeData,
sizeof(BARCODEDATA));
However, I'm only getting the code128 barcode recognized. If I leave
out the BARCODE_1D_CODE_128, the datamatrix barcodes are recognized.
Is it possible to recognize simultaneously, if so, what's the best way?
greets
matthias
#2
Posted
:
Wednesday, April 11, 2012 6:02:19 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Matthias,
The documentation for the ulSearchType parameter of L_BarCodeRead function states that you "... can combine values when appropriate among the same group values..."
This means you cannot OR search types from different groups such as 1D and datamatrix.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
#3
Posted
:
Thursday, April 12, 2012 8:18:33 AM(UTC)
Groups: Registered
Posts: 37
LEADTOOLS Support
Document
Document SDK Questions
Re: reading datamatrix and code128 simultaneously
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.