
66
System
SysSuspend
Shut down the system.
SetPowerOnState
Set power on state.
SetAutoOffTimer
Set auto off timer.
GetKernelVer
Get KERNEL version.
Power
get_vmain
Get voltage level of the main power supply.
Other
prc_menu
Create a menu-driven interface.
◆
Reader
Decode
Purpose
:
Perform barcode decoding.
Syntax
:
int Decode(void);
Example call
:
while(1){if(Decode( )) break;}
Includes
:
#include “LIB_CL.h ”
Description
:
Once the scanner port is initialized (by use of InitScanner1
function), call this Decode function to perform barcode decoding.
This function should be called constantly in user's program loops
when barcode decoding is required. If the barcode decoding is not
required for a long period of time, it is
recommended that the scanner port should be stopped by use of the
HaltScanner1 function. If the Decode function decodes
successfully, the decoded data will be placed in the string variable
CodeBuf with a string terminating character appended.
And the integer variable CodeLen, and the character variable
CodeType will reflect the length and the code type of the decoded
data respectively.
Returns
:
0 : Fail
。
Other value : Barcode length
。
HaltScanner1
Purpose
:
Stop the scanner port from operating.
Syntax
:
void HaltScanner1(void);
Example call
:
HaltScanner1( );
Includes
:
#include “LIB_CL.h ”
Description
:
Use HaltScanner1 function to stop scanner port from operating. To
Содержание PT-10
Страница 4: ...3 Keyboard Wedge 99 System 101 Power 102 Other 102 ...
Страница 13: ...12 6 Development Flow Chart ...
Страница 53: ...52 Returns No returns Notes ...