Gebruiksaanwijzing /service van het product PA500 van de fabrikant Unitech
Ga naar pagina of 30
PA500 Programming Manual V 1.2 1/15/2008.
- 2 1. INTRODUCT ION ................................................................................................................. 5 1.1 How to dow nload data from scanner ...........................................................................
- 3 2.24. Only send single command decoding chip ...................................................................................................... 14 2.25. Send command to decoding chip ............................................................
- 4 6.4.2. Get Screen Backlight Status ............................................................................................................................... .2 7 6.4.3. Screen Backlight Brightness Control ....................................
- 5 1. Introduction 1.1 How to download data from scanner The major difference between the PA500 and a standard HPC/PalmPC is barcode input capability.
- 6 1.2 COM definition for PA500 COM 1 Reserve COM2 Scanner (Hamster) COM 3 IrDAComm COM 4 Bluetooth Modem COM 5 RawIR COM 6 BTModem UART.
- 7 2. USI.DLL – Unitech Scanner Interface DLL Note : For PA500 programming, it need to dynamically load DLL for using Unitech built-in DLL (Unitech will not provide *.H and *.LIB for compiler for mobile 5.0 OS), please refer to Chapter 7 for programming guide.
- 8 "CHECKPARITY"="1" 2.2. Unregister the application from the USI.DLL Function Description: Unregister the application from the D LL. It will close the scanner port, and by default it will disable the scanner. Function call: void USI_Unregister (); Return code: None 2.
- 9 2.7. Get scan data Function Description: Retrieves the scan data into the buffer. Returns the length of characters. It also returns the barcode type if type is not NULL. Return 0 means that the buffer is too short to hold the data. USI_GetData should be called when SM_DAT AREADY message is received.
- UINT : Data length 2.8. Get length of scanned data Function Description: Returns the data length of the scan data. When allocate the memory to hold the scan data, add at least one additional byte for string terminator. Function call: UINT USI_GetDataLength (); Return: UNIT : data length 2.
- 2.10. Clear scan data system buffer Function Description: Reset the data buffer so that next new scan data can come in. Function call: void USI_ResetData (); 2.11. Good read indicator Function Description: Inform a good receiving of scan data, this will play a sound (wave file scanok.
- 2.14. Save scanner setting into specified file Function Description: Save the current settings to file. The file takes “*.USI” as extension name. Function call: BOOL USI_SaveSettingsToFile( LPCTSTR filename ) Parameter: (input) filename : LPCTSTR: file name for setting profile Return: TRUE = success FALSE = error 2.
- 2.17. Stop auto scanning function Function Description: Stop auto scanning Function call: void USI_StopAutoScan (); 2.18. Check if auto scanning is enable Function Description: Check if auto scannin.
- 2.22. Enable/Disable Scan2Key Function Description: Enable or disable Scan2Key to put scanned data to standard keyboard input buffer. Scan2Key is enabled by default.
- 2.25. Send command to decoding chip Function Description: Send command to decoder chip. This is a variation of command HAM_SendCommand. It will read a number of parameters and packet them as in following format and send it to decoder chip. Esc, parameter1, parameter2, …, BCC The total number of parameters is s pecified by first parameter num.
- 3. Control command for decoder chip Important : This chapter describes low level comm and for scanner control function. If you already USI to do scanner programming, you don’t need to care about this chapt er.
- 2_is standby mode. Beep Esc,0,4,3,m,S1,BCC S1 0 none,1 lo w,2_medium,3 high,4 low/high,5high/low block_delay Esc,0,4,4,m,S1,BCC S1 is 0_10ms,1 50ms,2 100ms,3 500ms,4 1s,5 3s char_delay Esc,0,4,5,m,S.
- Mterminator Esc,0,4,31,m,S1,BCC No meaning for you Here S1 is 0_ENTER,1 NONE Sentinal Esc,0,4,32,m,S1,BCC No meaning for you S1 is 0 not send,1 send Track_selection Esc,0,4,33,m,S1,BCC No meaning fo.
- Msi_pleasey Esc,0,4,5b,m, S1,BCC S1 is S1.b0 is for Msi_p_enabl e,S1.b1 is for Msi_pleasey_cd, S1.b3b2 is for Msi_p_cdmode Msi_p_enable Esc,0,4,5c,m,S1,BCC S1 is 0_disable,1 enable Msi_pleasey_cd Es.
- Supplement_five,S1.b2 is for Supplement_mh, S1.b3 is for Supplement_ssi. Supplement_two Esc,0,4,88,m,S1,BCC S1 is 0_off,1 on Supplement_five Esc,0,4,89,m,S1,BCC S1 is 0_off,1 on Supplement_mh Esc,0,.
- 4. Scanner3.DLL – Backward compatible API for PT930/PT930S’s Scanner3.dll Note : For PA500, it need to dynamically load D LL for using Unitech built-in DLL (Unitech will not provide *.H and *.LIB for compiler), please refer to Chapter 7 for programming guide.
- 4.4. Read barcode data Function Description: Get input barcode data and its type from system buffer. Function call: BOOL PT_GetBarcode( TCHAR * szBarcodeBuffer,TCHAR *cType); Parameter: (output) szB.
- 5. ScanKey3.DLL – Backward compatible API for PT930/PT930S’s ScanKey3.dll Note : For PA500, it need to dynamically load D LL for using Unitech built-in DLL (Unitech will not provide “USI.H” and “USI.LIB” for compiler), please refer to Chapter 7 for programming guide.
- 6. SysIOAPI.DLL This DLL provide hardware relative API for us er to control scanner, LED, back-light and PC card slot. API functions are provided through D LL to assist programmer to write application for PA500. Note : For PA500 programming, it need to dynamically load DLL for using Unitech built-in DLL (Unitech will not provide *.
- 6.2. Scanner Related Functions To save power, the decoder IC is disabl ed when scanner is not in use. It can be enabled through USI functions. Following functi ons are meaningful only if decode IC is enabled. 6.2.1. Enable/Disable Scanner trigger key Function Description: This function enables/disables trigger keys.
- 6.2.5. Check Trigger key is pressing Function Description: This function is used to check if left or right trigger key is pressed or not. Function call: BOOL TriggerKeyStatus( int key); Parameter(Input) key: int: LEFT_TRIGGER_KEY : left trigger key RIGHT_TRIGGER_KEY : right trigger key.
- 6.4. LCD/Backlight related function There are two backlight controls, screen backlight and keypad backlight. They are controlled separately. For screen backlight, you can adjust brightness of backlight also. 6.4.1. Screen Backlight Control Function Description: This function turns screen backlight on or off.
- 7. Dynamic Load DLL Compiler would not load the DLL while use dynamic load DLL, it help user to load the DLL if it exists while the application executed. The follow is the example. Note: Even user does not need include the header and lib file but need to know the function definition.
- 8. Useful function call - without include SysIOAPI.DLL 8.1. Warm-boot, Cold-boot and power off #include <pkfuncs.h> #include "oemioctl.h" // Warn boot KernelIoControl(IOCTL_HAL_REBOO.
- 9. Update notes V1.0 The first version V1.1 COM port error correction on section 1.2 V1.2 Change logo.
Een belangrijk punt na aankoop van elk apparaat Unitech PA500 (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen Unitech PA500 heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens Unitech PA500 vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding Unitech PA500 leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over Unitech PA500 krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van Unitech PA500 bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de Unitech PA500 kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met Unitech PA500 . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.