Encode Rfid With Codabar Check Digit? フォローする

0
Avatar
Legacy Poster

Hello,

 

I had a request for a set of labels with incremental Codabar barcodes and matching RFID tags. I was able to do that, but now they want to add a Mod-10 check digit to both the Codabar and the RFID! I posted the Codabar question in the barcode category, but even if it's possible on the barcode, is there any way to do that on the RFID?

6 コメント

0
Avatar
Domingo Rodriguez
モデレータ
コメントアクション Permalink

In BarTender, by using VBScript (either directly as a "Data Source", or by making use of the "Transform" tab), you can calculate your custom Mod-10 check digit. BT already supports most of the standard Mod 10 check digits, such as UccMod10, so you can make use of this check digit in VBScript:

 

value = value & UccMod10(value) 

 

In order to see what will be encoded in the RFID object, you can place a text object on your label which uses "Object Value" as the Data Source and then choose either the hexadecimal encoded or main data source value to be presented. There should be no problem to also encode the check digit inside the RFID object, as long as you do it in the proper format.

0
Avatar
Legacy Poster
コメントアクション Permalink

Thanks for the information, Domingo. I have absolutely no clue about VBScript, but now that I know it's possible I will look into it further. Can you recommend an online primer on VBScript where I can learn how to do this?

 

As for your statement, "There should be no problem to also encode the check digit inside the RFID object, as long as you do it in the proper format," are you saying the RFID can calculate this check digit automatically? Or am I setting it to pick up the data from the barcode?

0
Avatar
Domingo Rodriguez
モデレータ
コメントアクション Permalink

You've a full VBScript Help under BarTender's "Help > Visual Basic Script Help" Menu.

 

Once you create the bar code with the check digit, the RFID object won't need to calculate the check digit again. You just use "Object Value" as the Data Source, then selected your Codabar bar code object and finally choose "Human Readable Text" for the value. Hope this helps.

0
Avatar
Legacy Poster
コメントアクション Permalink

In my version (Automation 9.4 SR3), I chose "Source: Label Object String", and "String: Human Readable Text". Since I couldn't figure out VBScript, I had them send the codes in a .dat file, entered it as a "text file" database, and printed the first three  to test. The human readable under the barcodes was correct, but when I read the RFIDs and compared them to three others using the same human readable entered via "Screen Data", the RFIDs were one off. The first one from the .dat file was completely unrelated, and the second one matched the first "Screen" code.

 

I noticed that the Database Connection Wizard asked if the first record was a header. It is not; do I need to have them give me a new .dat file with a header?

 

And speaking of which, I have noticed in the past that even with an Excel file Bartender skips the first record and starts with the second. Is there a way to change this, or do I always need to make the first line in a database a header or other filler data?

0
Avatar
Domingo Rodriguez
モデレータ
コメントアクション Permalink

With regards to the Excel question, when Excel is being used in "database read mode" the first line will always need to be the database field names.

 

With regards to the ongoing issue, you might better be reporting this to our tech-support department by email. Include the product key code, BarTender document, database files and as well some print files which demonstrate the issue. In order to obtain a print file in BarTender, go to "File > Print", enable the "Print" checkbox and click on "Print".

 

Contact support at: http://www.bartenderbarcodesoftware.com/label-software/technical-support.aspx#contact

0
Avatar
Legacy Poster
コメントアクション Permalink

Thank you for the additional information. For the job at hand, I just pulled the RFID codes from the same database as the Codabar so it did not have to read from the Codabar's human readable. Thanks for all your help.

ログインしてコメントを残してください。