-
4. Scanner3.DLL – Backward compatible API for PT930/PT930S’s Scanner3.dll
Note : For PA600, it need to dynamically load DLL for using Unitech built-in DLL (Unitech will not
provide *.H and *.LIB for compiler), please refer to Chapter 8 for programming guide.
4.1. Enable
Decoder
Function Description:
This function will open COM4 port, create a thread to get any barcode input from
Decoder Chip, and then store input data in the system buffer. Application can use
function call
PT_GetBarcode()
to get input data from the system buffer.
Function call:
INT PT_EnableBarcode(VOID);
Return code:
=1
Create new thread fail
=2 Cannot
re-enable
=3
Cannot open COM4
=4
Upload parameter from Hamster fail
=0 OK
4.2. Disable
Decoder
Function Description:
This function will close COM4 port and then remove thread which is created by
PT_EnableBarcode()
Function call:
VOID PT_DisableBarcode( VOID );
4.3. Check barcode input
Function Description:
This function is used to check whether there is available barcode data on system
buffer which is successfully decoded by decoder chip.
Function call:
BOOL PT_CheckBarcode( VOID );
Return code:
TRUE = There is input data on system buffer.
FALSE = There is no data on system buffer.
Summary of Contents for PA600
Page 1: ...PA600 Programming Manual V 1 6 1 11 2008...
Page 9: ...9...