Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

HELP: How to decode AI’s

HELP: How to decode AI’s

HELP: How to decode AI’s

Example: (01)90051701007193(3202)001454(15)040525(21)407100100064

When barcode data string is passed to an application, how will the application know the length of the AI?

The AI’s can be 2-4 characters long. In above example we can see the third AI=15 because it’s enclosed in (). But the () are not passed in the string when barcode is scanned. So, how will the computer application know that the third AI=15 and not 150 or 1504? Please explain.

Thank you.

RE: HELP: How to decode AI’s

so you have a barcode that is that long?
thats about 50 characters?
Or are you building this string as you scan different barcodes together?
if they are separate you need to add somethign to the end of each.

unless you have some criteria then its not possible.
either the number of characters into the string
or some character in the string such as parenthesis

What else do you know before you read this?


DougP, MCP, A+

RE: HELP: How to decode AI’s

This is just an example of one barcode from one scan. No, this string would not be build from many scans.

There would be symbology identifier and FCN1 character at the end of variable length data.

I’m trying to determine on how to pull out the information from the scanned barcode strings for further processing. Maybe I'm approaching this all wrong and I should just have BarcodeTable with all possible barcode strings? Then I can just compare the entire string to entries in the table without the need for parsing it because each row would be unique.

RE: HELP: How to decode AI’s

That would be one way
but most people have each item in its own barcode
just like a database
see this label standard for example AIAG-B10

that way if you only need one thing just scan one thing you could do without having to parse a string.

you would not key in a customer like this
into one field of a database.

Scanning several barcodes is not a painfull as it seems.
it can be done in 2-3 seconds

DougP, MCP, A+

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close