EasyManuals Logo
Home>Unitech>PDA>PA600

Unitech PA600 Programming Manual

Unitech PA600
41 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #11 background imageLoading...
Page #11 background image
-
2.7. Get scan data
Function Description:
Retrieves the scan data into the buffer. USI_GetData returns data in buffer in ASCII code, while
USI_GetData2 returns in Unicode. Parameter len specifies the maximum length of 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.
The scanner will be disabled when scanner successfully decoded a data, so the data is protected
from been destroyed by trying continuously scanning. Call USI_GetData / USI_GetData2 or
USI_ResetData will automatically enable the scanner.
USI_GetData should be called when SM_DATAREADY message is received. Or call
USI_ResetData to discard the data. Both of them will reset the data buffer and enable scanner, so
that next scan data can come in.
If the data buffer is not empty and a new scan data occurs, it will be discarded and an error
message SM_ERROR with code of SERR_DATALOST will be sent.
For a complete list of barcode types, refer to the header file USI.H for the predefined data with
BCT_ prefix
Function call:
UINT USI_GetData(LPBYTE buffer, UINT len, UINT* type);
UINT USI_GetData2(LPTSTR buffer, UINT len, UINT* type);
Parameter: (input)
len: UINT : Len specifies the maximum length of the buffer.
Parameter: (output)
buffer: LPBYTE : Data buffer for storing scanned data
type: UINT : barcode type which is defined on USI.H. Please refer to below list
BCT_CODE_39 // Code 39
BCT_CODABAR // CodaBar
BCT_CODE_128 // Code 128
BCT_INTERLEAVED_2OF5 // Interleaves 2 of 5
BCT_CODE_93 // Code 93
BCT_UPC_A // UPC A
BCT_UPC_A_2SUPPS // UPC A with 2 Supps
BCT_UPC_A_5SUPPS // UPC A with 5 Supps
BCT_UPC_E0 // UPC E
BCT_UPC_E0_2SUPPS // UPC E with 2 Supps
BCT_UPC_E0_5SUPPS // UPC E with 5 Supps
BCT_EAN_8 // EAN 8
BCT_EAN_8_2SUPPS // EAN 8 with 2 Supps
BCT_EAN_8_5SUPPS // EAN 8 with 5 Supps
BCT_EAN_13 // EAN 13
BCT_EAN_13_2SUPPS // EAN 13 with 2 Supps
BCT_EAN_13_5SUPPS // EAN 13 with 5 Supps
BCT_MSI_PLESSEY // MSI Plessey
BCT_EAN_128 // EAN 128
BCT_UPC_E1 // UPC E1
BCT_UPC_E1_2SUPPS // UPC E1 with 2 Supps
BCT_UPC_E1_5SUPPS // UPC E1 with 5 Supps
BCT_TRIOPTIC_CODE_39 // TRIOPTIC CODE 39
BCT_BOOKLAND_EAN // Bookland EAN
BCT_COUPON_CODE // Coupon Code
BCT_STANDARD_2OF5 // Standard 2 of 5
BCT_CODE_11_TELPEN // Code 11 Telpen
BCT_CODE_32 // Code 32
BCT_DELTA_CODE // Delta Code

Table of Contents

Other manuals for Unitech PA600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Unitech PA600 and is the answer not in the manual?

Unitech PA600 Specifications

System Memory IconSystem Memory
SDRAM memory64 MB
Flash ROM128 MB
Flash ROM with WWAN320 MB
Display IconDisplay
display resolution240x320 QVGA
display typeColor Transflective TFT
touch screenYes
Power IconPower
main battery3.7V 1950mAh Li-Ion Battery Pack
backup batteryOne Rechargeable Ni-MH Backup Battery
power sourceMain Battery
Operating Environment IconOperating Environment
operating temperature32ºF to 122ºF (0ºC to 50ºC)
storage temperature-4ºF to 140ºF (-20ºC to 60ºC)
relative humidity5% ~ 95% (non-condensing)
Weight and Dimensions IconWeight and Dimensions
weight290g with Battery & Scan Engine
length149.5 mm
height26.6 mm

Related product manuals