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!
  • Students Click Here

*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

filter RF scans to ignore bad data

filter RF scans to ignore bad data

filter RF scans to ignore bad data

We use scanners like this...

The scans get transmitted to our host system, but my problem is there are certain MFg's that have Barcodes containing bad data ( at least for our purposes).... in general the last 7 characters are the serial number, but for these barcodes the Readable may be....


but scan is


I would have thought it is a no brainer until I encountered the one ending with 4 (11770494).

but does anyone have a similar scenario, how do you handle it...can we install software that lets us configure different variations?


RE: filter RF scans to ignore bad data

Most barcode symbologies use either mandatory or optional checksum characters.

I don't know which symbology (type of barcode) you are using, but perhaps it is one which can use an optional checksum character, and your scanner needs to be programmed to recognise it as such?

RE: filter RF scans to ignore bad data

is there free software that will show me the barcode details, like check digit and type.... most are 3 of 9,

What I have came with the scanner and doesn't seem to provide enough info...just gives me the SCAN result, Type, Src

If not free, what would you recommend.



RE: filter RF scans to ignore bad data

A free tester I've used in the past is "bctester" ( http://www.bctester.de/en/index.htm ).

I can't remember if it will 'decompose' a barcode into constituent parts, but it should (at least) be able to tell you what your symbols translate to.

RE: filter RF scans to ignore bad data

thanks,  that's pretty cool... so I tested 8 different samples, they all come up as Code39, but the output varies from 12 to 19 characters, Dashes in middle sometimes and not in others (Human readable has dash), leading spaces

Essentially the true value is...
Where S is blank, for a total of 17 characters.


I get....

DFTE       10175669
VGYU       10280934

 I only need the last 7, but all these variations mess me up, I'm trying to make an argument that the customer needs to go after their Mfg's, but all this time they claim other locations have delt with it so we should be able to also?

RE: filter RF scans to ignore bad data

But the characters you need are always the first seven numeric characters after any alpha, space, or other marks?

Can you extract those by locating the first numeric digit in the middle of the string then taking 7 to the right of that?

RE: filter RF scans to ignore bad data

thanks thevillageinn, I like your thinking..but while the bad barcodes in question for this product group use this format...


Other items will look like...



RE: filter RF scans to ignore bad data

I guess I don't understand enough about why you need only the "last" 7 characters.  And how you will know certain serial numbers are or aren't valid.

Are you writing some process that will work with the input from the scanner?  or are you simply trying to transmit valid data from the scanner to the program?

What did the barcode check program report in the instances like you posted with the symbols (. + % etc) at the end of the sequence?

It seems unlikely to me that you'll get MFGs to change their processes - so you'll have to make things work on your end, plus what happens when you get a new MFG who doesn't conform?  

To my mind you'll have to take the best sample of data you can and outline the steps you (personally) take to determine the validity of each sequence - then see how that can be translated into code.  I'd think a series of RegEx tests would get you to the result you need...

...but I'm probably just restating what you already know. ;)

RE: filter RF scans to ignore bad data

Thanks.. as a rule with the "good" labels the last 7 is the serial number, but these odd balls mess that up.

I can't create any logic for this because I just can't isolate something common to reference.

I think I will need to do a better audit and come up with a list of all scenarios, maybe identify product groups and look at coding to apply when a certain group is encountered.

To me it seems impossible, so I thought I'd throw it "out there".

thanks for the feedback.

RE: filter RF scans to ignore bad data

I should have posted this n the beginning, as an alternative

Our RF guns are Symbol MC9090 running Windows CE.  The scans go through Wavelink Telnet to our Host system.

Is there any way for me to have an application running in the background that processes the scan result, in a way for me to apply what ever formula's or conditional coding and then pass to to wavelink.

I don't know how to ask it, so basically without going to the programmers of our Host system, I'm thinking if I can set something up to process the scan result first and then pass the data maybe I can figure this out.

so if anyone has any links to articles, or previous Experience, please let me know what I need to do.



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