background image

 

-22 

11 HANDLE_ERR_UNKNOW 

 

0xff 

Undefined error. Please record how this 

message happened and contact with us

 

www.sunlitcorp.com

.

 

12 Others 

Unknow message. Please record how this 

message happened and contact with us 

www.sunlitcorp.com

.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Summary of Contents for SLC-10100

Page 1: ...1 RFID CF Type Reader User s Guide Model Name SLC 10100 Version 1 0 Date 2007 04 09...

Page 2: ...ntact us 42 Notice In order to avoid misuse or any unexpected damage please read this guide first This device complies with Part 15 of FCC Rules Operation is subject to the following two conditions 1...

Page 3: ...quency band This is small and light can be easily install to PDA tablet PC 2 Specification Power Supply DC 3V from PDA or PC Operating Environment 0 C 40 C Storage Environment 0 C 60 C Power Consumpti...

Page 4: ...le device RFID CF reader Tag WindowCE Platform 4 Hardware appearance introduction 5 System requirement Item Condition Quantity Hardware requirement PDA support CF interface 1 Platform requirement Wind...

Page 5: ...ce the side with LED up and insert it into PDA CF slot as shown in picture Normally always insert CF reader by put LED side up but some PDA put CF slot at reverse side it means user needs to insert CF...

Page 6: ...can be use to demo ex material manager In out control for people etc 2 Block diagram Main Program Tag ID Data base Picture Information 3 Demo program operation System requirement Item Condition Quanti...

Page 7: ...orrelated with each individual ID Main Program Window Function Description Function Description ID Display Tag ID when Tag be read Delete Delete registered database Information Edit information about...

Page 8: ...program operation a Copy demo program files WinceDEMO exe sunlitrfidppc dll to PDA and store at same directory About the file transmissions please refer to PDA user s manual b Plug reader in CF slot...

Page 9: ...on ID window Mark the ID number in Tag DataBase field Click Picture Folder to open location of picture that you want to correct with Tag ID Click Type to select file type that you want than click pic...

Page 10: ...and 1 text file Item Description SDB text file ID database file after ID saved SDB Folder A picture file storage folder about correlate with ID database after picture saved Caution Every PDA are diffe...

Page 11: ...11 h Set Mute function Follow the figure click the Mute function check box the mute function will enable When you created the data base the system was created 1 folder and 1 text file...

Page 12: ...t Active item to enable active function Click Read if tag scanned by reader and the scan procedures will continuously Mode Passive Click Mode combo box select Passive item to enable passive function C...

Page 13: ...elete data base Click data you want to delete on Tag DataBase window Click Delete and select Yes to delete data k Clear function If click Clear than the text message on the Message window will be clea...

Page 14: ...14 l Disable device Reader To confirm device is open Click Close to disable device...

Page 15: ...15 3 API user s guide ONE Structure of Sunlit RFID DLL for PPC TWO Program Declaration THREE FUNCTION Introduction FOUR EVENTS Introduction APPENDIX Development Environment...

Page 16: ...UNLITRFID_Open and SUNLITRFID_OpenII are the same except using different parameters Device operation functions includes following 9 functions SUNLITRFID_Echo SUNLITRFID_SoftwareReset SUNLITRFID_Hardwa...

Page 17: ...TRFID_Pause void SUNLITRFID_OpModeSet BYTE Data SUNLITRFID_OpModeGet BYTE Data SUNLITRFID_ActiveScanIntervalSet BYTE Data SUNLITRFID_ActiveScanIntervalGet BYTE Data SUNLITRFID_ScanTag SUNLITRFID_TAGID...

Page 18: ...18 The following picture represents how the DLL works with your program...

Page 19: ...the length of hardware version information Unit byte define FIRMWARE_LENGTH 8 Define the length of firmware version information Unit byte define TAG_LENGTH 16 Define the length of Tag ID data Unit byt...

Page 20: ...or more information Please see EVENTS Introduction ActiveTagID was introduced at above definition typedef struct char data PRODUCT_NAME _LENGTH 1 SUNLITRFID_PRODUCT_NAME Type definition of product nam...

Page 21: ...D_ScanTag in passive mode but comport failed with some error To solve this problem please check hardware power or connection 6 HANDLE_ERR_CREATE_EVENT 0x88 This message will happen when you call SUNLI...

Page 22: ...ERR_UNKNOW 0xff Undefined error Please record how this message happened and contact with us www sunlitcorp com 12 Others Unknow message Please record how this message happened and contact with us www...

Page 23: ...successfully the array will show each COMPORT name that inserted CF card For example your PPC has 2 different CF card insert into COM 1 and COM 4 then CFName will show as COM1 0x00COM4 0x00 Return Val...

Page 24: ...se NULL PortName The comport name you want to open BaudRate The comport baud rate that you want to open with Environment Please see TYPE definition Return Values The function will return byte value th...

Page 25: ...e you want to open BaudRate The comport baud rate that you want to open with haEvent Please see TYPE definition ActiveTagID Please see TYPE definition Return Values The function will return byte value...

Page 26: ...return true otherwise false For example if SUNLITRFID_IsOpen Comport is open else Comport is closed 5 bool SUNLITRFID_Close void SUNLITRFID_Close is used for close comport Parameters No parameter need...

Page 27: ...example if SUNLITRFID_Echo HANDLE_SUCCESS The device was reply message successfully else 7 BYTE SUNLITRFID_SoftwareReset void SUNLITRFID_SoftwareReset reset device by software Parameters No parameter...

Page 28: ...or byte value For example if SUNLITRFID_HardwareReset HANDLE_SUCCESS The device was reset by hardware successfully else 9 BYTE SUNLITRFID_Pause void SUNLITRFID_Pause pauses the device from any operati...

Page 29: ...value 0x00 represents passive mode other values represent active mode Return Values The function will return byte value that indicate the execution result please see MESSAGE definition for byte value...

Page 30: ...t the device was in passive mode other values represent that the device was in active mode Return Values The function will return byte value that indicate the execution result please see MESSAGE defin...

Page 31: ...f SUNLITRFID_ ActiveScanIntervalSet byData HANDLE_SUCCESS Set scan interval successfully else 13 BYTE SUNLITRFID_ActiveScanIntervalGet BYTE Data SUNLITRFID_ActiveScanIntervalGet is used to get the cur...

Page 32: ...tion Return Values The function will return byte value that indicate the execution result please see MESSAGE definition for byte value For example SUNLITRFID_TAGID TagID switch SUNLITRFID_ SUNLITRFID_...

Page 33: ...oductName if SUNLITRFID_ProductNameGet ProductName HANDLE_SUCCESS Get product name information successfully else 16 BYTE SUNLITRFID_ModelNameGet SUNLITRFID_MODEL_NAME ModelName SUNLITRFID_ModelNameGet...

Page 34: ...er if SUNLITRFID_HardwareVersionGet HardwareVer HANDLE_SUCCESS Get hardware version successfully else 18 BYTE SUNLITRFID_FirmwareVersionGet SUNLITRFID_FIRMWARE_VER FirmwareVer SUNLITRFID_FirmwareVersi...

Page 35: ...t or WaitForMultipleObjects You may need to use Windows API function WaitForSingleObject or WaitForMultipleObjects to wait events For more information Please see Microsoft MSDN Library If you use func...

Page 36: ...36 4 Demo program source code ONE The Main Framework of the Demo Program The following picture represents the main framework of the demo program...

Page 37: ...en Comport Click Open button to open comport The Open button executes the following code void CWinceDEMODlg OnBnClickedButtonOpen TODO CString sTemp TCHAR CFName 1024 ZeroMemory CFName sizeof CFName B...

Page 38: ...MessageBeep MB_ICONASTERISK else sTemp Format CString Open Comport s Fail CFName ListMsg InsertString 0 sTemp else ListMsg InsertString 0 CString Can t Find CF Card else SUNLITRFID_Close DrawEnvironm...

Page 39: ...CString Pause Device SUNLITRFID_ActiveScanIntervalSet DEFAULT_SCAN_INTERVAL_10MS Set Operation Mode if ComboBoxOPMode GetCurSel 0 byTemp 0 Passive Mode else byTemp 0xff Active Mode if SUNLITRFID_OpMo...

Page 40: ...ID DrawEnvironment ClearPicture switch byTemp case HANDLE_SUCCESS Only in Active Mode ListMsg InsertString 0 CString A Read break case HANDLE_ERR_TAG_PASSIVE Read Tag in Passive Mode if SDB IsExists T...

Page 41: ...Msg InsertString 0 sTemp break SetEvent hEventFlip ButtonRead EnableWindow true APPENDIX Development Environment Hardware Environment Product Name RFID CF Type Reader V3 0 Model Name SLC 10200 Firmwar...

Page 42: ...ain program file sunlitrfidppc dll Dynamic Link Library file CFR_SLC 10100_ User Guide_V1_ENG pdf PDF file of user guide 6 Package list Item Quantity CF type reader 1 Application CD 1 7 How to contact...

Page 43: ...ifferent from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help To assure continued compliance any changes or modifications not expressly approv...

Reviews: