background image

 

M500 USER MANUAL AND PROGRAMMER SDK 

 

Page 25 

 

The C# API 

M500_BC

 structure contains a 2D data structure. 

 
unsafe

 

public

 

struct

 

M500_BC 


    

public

 

BC_1D

 d1;        

// 1D (linear) 

    

public

 

BC_2D

 d2;        

// 2D (PDF417) 

    

public

 

int

   iMajor; 

    

public

 

int

   iMinor; 

    

public

 

int

   iOrient;   

// Orientation 

    

public

 

int

   iTry; 

    

public

 

fixed

 

byte

 cModel[8]; 

 
If the PDF417 barcode is found the iOrient element will  
The 

iOrient

 element has four enumerated values of the card orinetation and zero for unknown. 

0 = Unknown orientation 
1 = Normal orientation (Front of card is on the right). 
2 = Front on the right but upside down. 
3 = Front is on the left. 
4 = Front is on the left and upside down. 
 
The main element of the 2D barcode structure is the length (zero if not decoded). 
 

unsafe

 

public

 

struct

 

BC_2D 


    

public

 

short

 nLen;      

// Length 

    … 


 
After getting the barcode call back check the length to determine if the data is valid.  For example, to 
check if the PDF417 data was decoded check the length in “

nLen

.

 

m_BC.d2.nLen 

// Length of valid data in aryP417

 

 
 
The C# API 

M500_

 DATA

 structure has byte arrays to access the PDF417 and mag stripe data. 

Check  “

nLen

” to determine the number of valid bytes.

 

 

public

 

struct

 

M500_DATA 


    

public

  

byte

[] 

aryP417

;   // Byte array to PDF417 

    

public

  

byte

[] 

aryT1

// Byte array to magnetic track 1 

    

public

  

byte

[] 

aryT2

// Byte array to magnetic track 2 

    

public

  

byte

[] 

aryT3

;  

// Byte array to magnetic track 3 

Содержание M500

Страница 1: ...M500 User Manual and Programmer SDK Revision 1P Doc No 560802 1A May 19 2017...

Страница 2: ...on system apparatus machine material method or process in which E Seek products might be used An implied license only exists for equipment circuits and subsystems contained in E Seek products E Seek a...

Страница 3: ...starting the scanner 10 3 1 3 Upgrade firmware from User application 10 4 RUNNING DEMO APPLICATION 11 5 SCOPE 11 6 OPERATION 11 6 1 INDICATOR LEDS 11 6 2 EJECT BUTTON 12 6 3 GUI 12 6 3 1 Small Image P...

Страница 4: ...M500 USER MANUAL AND PROGRAMMER SDK Page 3...

Страница 5: ...ety or in part is strictly prohibited The information contained in this User s Guide is subject to change without notice 1 1 PRODUCT FEATURE This device is an ID card authentication system that perfor...

Страница 6: ...M500 USER MANUAL AND PROGRAMMER SDK Page 5 2 1 OVERVIEW OF MODEL M500 Figures 1 and 2 illustrate the major modules and components of the M500 Figure 1 Figure 2...

Страница 7: ...ower status Blue and White center mounted LEDs under user control Red LED for Error status Communication High Speed USB 2 0 Weight M500 device 4 25 lb Without Power Supply Dimensions 8 5 Length x 5 7...

Страница 8: ...wer Supply USB Cable Cleaning Card Calibration Card Power Supply The AC DC power supply The power cord plugs into the power jack Figure 3 2 4 1 USB CABLE The M500 is provided with a USB interface cabl...

Страница 9: ...he white balance calibration simply insert the card with the arrow side first After prolonged use or if the card becomes scratched it should be discarded 2 4 3 CLEANING CARD Figure 6 The cleaning card...

Страница 10: ...nstalling the 32 bit Driver for Windows 32 bit XP Vista 7 and 8 Run M500_USB_DRIVER 32 exe Installing the 64 bit driver for Windows 64 bit Vista 7 and 8 Run M500_USB_DRIVER 64 exe WinDriver should app...

Страница 11: ...e or downgrade the firmware in M500dll dll Step 1 Connect the M500 to PC and run your application which loads M500dll dll Step 2 Unplug the power to the M500 Step 3 Press and hold the Eject button loc...

Страница 12: ...USB The PC software also includes a third party USB driver from Jungo This document covers the M500 C sample application and the C API that gives a C developer a simple interface to the unmanaged C C...

Страница 13: ...BUTTON This button which is located on the top of the units is used to try to eject a jammed card 6 3 GUI Figure 9 The GUI has a toolbar and controls on the top small preview images on the left a larg...

Страница 14: ...n image with the right side illuminate using IR light and detected on the left side which is not illuminated The intensity of the bleed through image is an indication of the card s opacity The big ima...

Страница 15: ...white LED mounted next to each other Clicking on this button cycles thru blue LED on white LED on blue LED blinking white LED blinking and both LEDs off Note that early production units do not have a...

Страница 16: ...M500 USER MANUAL AND PROGRAMMER SDK Page 15 6 3 3 SCAN MODES By default the normal scan mode is RGB IR UV Click on the Scan Normal button until it changes to Scan RGB for fast RGB only scanning...

Страница 17: ...er versions and brings up a dialog box if the versions do not match The T1 T2 and T3 likewise will turn green when data is found on the magnetic stripe for tracks 1 2 3 6 3 5 STATUS BAR The triangle i...

Страница 18: ...mismatch or other serious error it will sends an error event In this case EV_ERR_FW_VER and send a command to the firmware to flash its red LED On receiving this event the demo application will pop u...

Страница 19: ...API The application M500 exe or user application M500api dll M500dll dll and SD2 dll must be in the same directory The DLL will create a log file M500dll log in the directory in which it is running by...

Страница 20: ...ule contains GUI code that was separated from the FormM500demo cs module to simplify it It contains code to Open and Save a TIFF file and update the magnify window It does not interface with the M500...

Страница 21: ...ade bool bAuto Call this function with false before Init to override the default behavior as of version 1 9 of automaticaly updating the M500 s firmware if it is out of date You do not have to call th...

Страница 22: ...ration has three values BEEP_1 BEEP_2 BEEP_3 bool EjectCard Starts the card eject procedure as if one had pressed the eject button This allows the application to try to eject a stuck card without the...

Страница 23: ...freshes the APIs bitmaps barcode and magstripe data from an M500 tif file bool WrUserData byte aryData Writes a user data byte array to flash 128 byte limit Flash should not be used store frequetly ch...

Страница 24: ...ANCEL Scan aborted EV_DOOR_OPEN Door opened EV_DOOR_CLOSE Door closed EV_CLEAN_CARD Cleaning card EV_WHITE_CAL White calibration card EV_WHITE_CALV White card verification in reverse for dust detectio...

Страница 25: ...first two images are the RGB front and back The next two images are the IR front and back The last two main images are the UV front and back The last image is a low resolution IR bleed image captured...

Страница 26: ...Front is on the left 4 Front is on the left and upside down The main element of the 2D barcode structure is the length zero if not decoded unsafe public struct BC_2D public short nLen Length After ge...

Страница 27: ...MsRdy on applications thread break case EV_RGB_RDY Invoke new MethodInvoker ScanRgbRdy RGB image ready break case EV_BC_RDY Invoke new MethodInvoker EvScanBcRdy Barcode ready break case EV_IR_RDY Invo...

Страница 28: ...se of the White Calibration Card feedback in the determination of whether or not dust or debris may have accumulated on the M500 s mirrors The Verification Process occurs when the Calibration Card is...

Страница 29: ...ic part made to block the M500 scan path and divide the air flow Item M500 AIRDV 3 Air Duster aerosol can of compressed air The preferred air duster is designed to leave no residue with a high filtrat...

Страница 30: ...the M500 side door and insert the Plastic Air Divider Air Divider Plastic insert 1 Insert the Air Divider down inside the M500 into the opening 2 Position the Air Divider under the top spring loaded...

Страница 31: ...ime ignore the Right side image Step 6 Calibration At this point you need to calibrate the M500 without any dust present on the mirrors This is a simple and mostly automatic process Simply insert the...

Страница 32: ...M500 USER MANUAL AND PROGRAMMER SDK Page 31 10 3 MECHANICAL DRAWING...

Отзывы: