Creating Rfid Tag/labels With Datamatrix
-
Fernando Ramos Miracle
★ BarTender Hero ★
Hello Thomas,
When you configure a BarTender document to work with a driver that supports RFID tags you'll be able to add RFID objects to your document. This type of objects work in the same way as any other label object, where you can relate its data source/s with your database fields so it receives the data from the trigger file working as a database.
In an RFID object you will be able to configure other RFID settings, such as on what type of segment will the data be encoded, the data type of the original information (note that it will be encoded as Hexadecimal in the RFID tag) and a long etc depending on what the printer and the type of RFID tag you've selected.
Regards
0 -
Legacy Poster
★ BarTender Hero ★
Hello Fernando,
do I need 1 RFID Object for the Tag itself and 1 RFID Object for the datamatrix and 1 RFID Object for the text ?
Thanks
0 -
Fernando Ramos Miracle
★ BarTender Hero ★
Hello Thomas,
You shouldn't, you will only need one RFID object per segment you wish to encode. But you could concatenate several data sources in your RFID object each containing data from one of your label objects (or from different database fields).
Regards.
0 -
Legacy Poster
★ BarTender Hero ★
Hello Fernando,
ok, I only need 1 RFID Object.
I just found that I can use the RFIDObject as a Datasource for other Bartender-Objects e.g. Datamatrix-Barcode. - I think this is the solution for this problem.
Another thing is: I still was not able to write the RFID Tag Data to the Tag. Do I need to put some Antenna Object to the label to make Bartender write the data to the tag ?
I remember from earlier versions of Bartender, there was the antenna designed on the label. But it isn't there any more.Regards
0 -
Fernando Ramos Miracle
★ BarTender Hero ★
Hello Thomas,
If you access the RFID object's properties, select the RFID node and click on the "Printer RFID Properties..." you'll be able to modify the RFID IC position under the "General" tab.
Also, BarTender still allows you to preview the antenna on your label. You can do so from the "File>Page Setup..." dialog under the "Stock" tab and under the "RFID Antenna" sub tab.
Regards.
0 -
Legacy Poster
★ BarTender Hero ★
Hello Fernando,
OK the Printer is now writing something to the tag, but it s not what I expected to be
Bartender always writes the same data "30B800004000008000000000" to the tag, never mind what I enter.
Let me tell you what I did:
I created an RFID Object, Data Format SGTIN-96. I used the wizard to create a GS1-AI-compatible datasource
with 4 elements:
1) AI-Code 01 (which means GTIN)
2) an element for the GTIN (as a decimal value)
3) AI-Code 21 (which means serial no.)
4) an element for the serial no. (as a decimal value)
For testing purposes I filled element 2 and 4 (using "Embedded data") with the according values of the GTIN / serial no. The data Type always is "text"
Pressing the "Print" Button always writes the same hex-value. Looks like a default value, but why.
I expected Bartender to encode the SGTIN into the right RFID EPC Code, according to the requirements of GS1.
What could be wrong ?
Thank you
Thomas
0 -
Fernando Ramos Miracle
★ BarTender Hero ★
Hello Thomas,
On which exact segment are you trying to encode your data? Please note that you should do so on the "User" segment. The EPC segment is limited to a valid EPC (Electronic Product Code) number and the driver/printer won't allow you to encode your data on it.
Regards
0 -
Legacy Poster
★ BarTender Hero ★
Hello Fernando,
that's the point - i want to write an epc.
I did put them to the "EPC" segment. Then the printer writes the tag, but only "30B800004000008000000000"
That is equal to GTIN 00000010000021 and Serial # 0
This seems to be a default value.
After your suggestion I tried to use the "User" segment for my needs, but this only brings write error at the printer.
Thomas
0 -
Thomas,
Please attach a simple test BarTender document (.btw) and a print file for us to examine. In order to obtain the print file, you would access the "File > Print" dialog in BarTender, enable the "Print to File" checkbox and now hit the "Print..." button. If your test also reads data from a database file, please include it was well.
You can do attachments by making use of the "More Reply Options" button.
0 -
Legacy Poster
★ BarTender Hero ★
Dear Domingo,
pls find enclosed
- the *.btw-File,
- the output file (renamed from output.prn to output.txt due to upload limitations)
- and the "database" file rfid.txt
The problem appeared with the database file and also without using the database file.
Thank you
Thomas
0 -
Hello Thomas,
I believe you're not forming the EPC number correctly. When you choose SGTIN-96 structure for encoding your EPC number, you need to structure the bits in a very specific structure (see attachment SGTIN-96 structure.png). In BarTender, as soon as you choose SGTIN-96, you will also see that the data sources get automatically structured (see SGTIN-96 BarTender.btw). If you look at the data sources of your RFID object, you will see that you're not following a correct SGTIN-96. You will need to correct this.
Furthermore, in the generated print file, BarTender will produce 24 HEX characters for the EPC number. However, if the EPC number you've formed is incorrect, the encoded HEX value will not be what you want.
As a simple test, you can create a new BT document with just an RFID object on it, choose "Hexadecimal" as the data type and then enter the value of an already existing HEX EPC number. You can then encode the value and decode it with an RFID reader. The EPC number you now read should be the same one you've encoded.
0 -
Legacy Poster
★ BarTender Hero ★
Yes, that's it. That way it works :D :D. Thank you.
I was irritated because of the Wizard-Function in the RFID-Coder. (Function GS1-Application-Identifier-Assistant)
In my situation this wizard was the wrong way. Don't know what this wizard does... :unsure:
Regards
Thomas
0 -
Currently, the way our data sources work is independent from the type of object which contains the data. This is why you would be able to make use of the GS1-Application-Identifier-Assistant inside the RFID tag. We may rethink in the future to make this wizard only appear for the BT objects it can be used with.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
13 Kommentare