Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

datamatrix data in Ascii

Hi, I need to read a datamatrix who has data in ASCII characters (alphanumeric) + FNC1 (ASCII 29) but the datamatrix vi only shows me the alphanumeric characters. The FNC1 is very important because it separates the text lines.

Does anybody know how can I do to see the FNC1 characters inside the data?

Thanks!

 

Example:

Real Data inside the datamatrix: 

<FNC1>0108691234567890211323424679<FNC1>1707011910X2512061322

Data shown by the vi:

01086912345678902113234246791707011910X2512061322 (heeelppp!)

 

Havee

0 Kudos
Message 1 of 6
(4,038 Views)

Hmmm... not fully uderstand your problem, but

 

fnc.png

 

hope it helps,

 

Andrey.

Message 2 of 6
(4,033 Views)

Thanks Andrey! but my explanation was awful, I'm sorry, I'll try it again...

I'm using "Read Data Matrix Barcode 2.vi" (included in NI Vision Development Module 8.6) to decode a datamatrix.

I'm trying to read the folowing Datamatrix.

 

111.png

 

 

 

 

 

The code inside this datamatrix is this: <FNC1>0108691234567890211323424679<FNC1>1707011910X2512061322

but the vi shows me (Barcode Report / Data - OUT) this:

01086912345678902113234246791707011910X2512061322 - without  ASCII 29 (FNC1) chars.

I'd like to know if there is any option to see these missing chars.

I hope this is more clear.

Thanks.

Havee

0 Kudos
Message 3 of 6
(4,001 Views)

Hello!

 

Did you find a way to solve the problem?

As I think, only way to get this characters is using another library.

 

Best Regards,

Nikita

0 Kudos
Message 4 of 6
(1,344 Views)

As far as I can see the latest IMAQ Read Data Matrix Barcode 3 from actual VDM2022Q3 contains Advanced options, where you can enable FNC1 (value doesn't matter - any value grater than 0 will enable this option):

Screenshot 2022-10-27 08.52.01.png

This will include additional chars into Data output.

 

0 Kudos
Message 5 of 6
(1,330 Views)

Andrey, thank you for answer!

 

Yes, this enable additional chars.

But actual problem is getting raw data from dm code.

From example above:

Original code data: <FNC1>0108691234567890211323424679<FNC1>1707011910X2512061322

IMAQ Read Data Matrix return modified data: ]d20108691234567890211323424679<GS>1707011910X2512061322

So, part of data was replaced during processing. This happen according this standart, but it would be useful to have original data.

 

You can try to read data from attached file and compare with original string: <FNC1>0104607009780924215XstxH<FNC1>93zPte

 

Best regards,

Nikita

0 Kudos
Message 6 of 6
(1,315 Views)