This Blog was created to help people solve bar code and data collection applications with Microscan bar code readers and vision systems.

Thursday, September 14, 2006

Ignore PC board gaps during read cycle



On the Quadrus Mini - you can program it to ignore gaps in your circuit board that would normally give you multiple triggers- Make the time value longer than the time it takes from the leading edge to the gap in the panel. As long as the gap is seen before the trigger filter value time is up then it will keep the trigger active.





www.esolutionscompany.com




Monday, September 11, 2006

How to download an image from Microscan Mini



It took me a bit to figure out our cryptic information, and of course to filter out the stuff that can get you in trouble.

You can use the op,4 command. Here is how you’ll use it:

<op,4,arg> If you are loading a bitmap, just send <op,4> and the entire grayscale image will load.

Since you are concerned about time, I’ll assume you want jpeg. The easiest way to explain the format is to set arg for the full size jpeg image, with adjustable quality:

<op,4,1280x1024_qnnn.jpg>

There is only one variable: nnn is a number from 1 to 100, and it represents the image quality: 1 will upload the fastest, and will be a big grey blob. 100 will be high quality and will take a while to load.

<op,4,1280x1024_q1.jpg> = bad image, quick load time

<op,4,1280x1024_q100.jpg> = good image, long load time

Response format:

The image will load; you will need to write an application that can receive the image, split up the data, and write the file. The first portion of the data is format info, then it moves into image data, so an ASCII Terminal wont work.

The format of the data will be (_ added for readability): SOH_DATALEN_FRAMETYPE_SCHEMA_DATA_CRC

SOH = SOH character

DATALEN = the length of data to follow, 32 bit integer from ‘00000000’ to ‘FFFFFFFF’

FRAMETYPE = 1

SCHEMA = 2

DATA = image data

CRC = CRC16 check digit at the end includes SOH, and everything after (except the CRC, of course)

Courtesy - Juan Worle www.microscan.com

www.esolutionscompany.com