Argox PT-10 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Leitores de códigos de barras Argox PT-10. PT-60 Mobile Computer Programming Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 79
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
PT-60 Mobile Computer
Programming Manual
DOC NO. UM-PT605-02
Oct. 2008
Version 1.0
© 2002-2007 by ARGOX Information Co., Ltd.
http://www.argox.com
Vista de página 0
1 2 3 4 5 6 ... 78 79

Resumo do Conteúdo

Página 1 - Programming Manual

PT-60 Mobile Computer Programming Manual DOC NO. UM-PT605-02 Oct. 2008 Version 1.0 © 2002-2007 by ARGOX Information Co., Lt

Página 2 - Table of Contents

Battery Related Function GetBatteryStatus This function gets main battery status. int GetBatteryStatus { } Parameters None. Return Values The ret

Página 3

break; case 4: AfxMessageBox(_T("No Battery")); break; case 5: AfxMessageBox(_T("Battery Unknown")); break; }

Página 4 - Overview

Display Related Functions BacklightOn This function will always turn on or off screen backlight. DWORD BacklightOn { BOOL bOn } Parameters bOn

Página 5 - SDK Functions

Display_QueryBacklightIntensity This function will return the backlight intensity of external power and battery power. DWORD Display_QueryBacklightIn

Página 6 - SYSAPIAX.DLL

dwValue2); AfxMessageBox(strTemp); } Requirements OS Versions: Windows CE 5.0 and later. Header: sysapiax.h Link Library: sysapiax.lib Li

Página 7

GetBacklightStatus This function gets screen backlight status. DWORD GetBacklightStatus { } Parameters None. Return Values The return value indic

Página 8 - Audio Related Functions

PowerOnLCD This function turns on or off LCD power. DWORD PowerOnLCD { BOOL bOn } Parameters bOn [in] Flag that indicates whether turn on LCD

Página 9 - Audio_SetVolume

SetBacklightPWM This function adjusts screen backlight brightness. DWORD SetBacklightPWM { int nACPowerPercent, int nBatteryPercent } Paramet

Página 10 - Battery Related Function

KeyPad Related Functions EnablePowerButton This function will enable or disable power button. DWORD EnablePowerButton { BOOL bOn } Parameters

Página 11

GetKeypadAlphaMode This function will get the current input mode. DWORD GetKeypadAlphaMode { } Parameters None. Return Values The return value ca

Página 12 - Display Related Functions

Programming Manual II Table of Contents OVERVIEW...

Página 13

SendKbdVisualKey This function sends a visual key to key buffer. DWORD SendKbdVisualKey { BYTE Key } Parameters Key [in] Specifies a virtual-k

Página 14

SetKeypadAlphaMode This function will change input mode. DWORD SetKeypadAlphaMode { int nMode } Parameters nMode [in] Flags for set input mode

Página 15 - GetBacklightStatus

LED Related Functions GetKeypadLEDStatus This function gets keypad LED status. BOOL GetKeypadLEDStatus { } Parameters None. Return Values The ret

Página 16 - PowerOnLCD

GoodReadLEDOn This function turns on and off goodread LED. DWORD GoodReadLEDOn { BOOL bOn } Parameters bOn [in] Flag that indicates whether tu

Página 17 - SetBacklightPWM

KeypadLEDOn This function always turns on or off keypad LED. DWORD KeypadLEDOn { BOOL bOn } Parameters bOn [in] Flag that indicates whether tu

Página 18 - KeyPad Related Functions

System Related Functions CallSuspend After called this function, terminal will enter suspend mode. void CallSuspend { } Parameters None. Return

Página 19 - GetKeypadAlphaMode

EnableAutoConnect The EnableAutoConnect function turns Autoconnect on and off. BOOL EnableAutoConnect { BOOL bEnable } Parameters bEnable [in]

Página 20 - SendKbdVisualKey

RegisterAlphaKeyNotification Register the application to SYSAPIAX.dll, so that SYSAPIAX.dll will send a windows message to the application when the a

Página 21 - SetKeypadAlphaMode

ShowChineseIME The ShowChineseIME function display and hide the Chinese IME. BOOL ShowChineseIME { BOOL bShow } Parameters bShow [in] Flag tha

Página 22 - LED Related Functions

ShowDesktop The ShowDesktop function display and hide all icons on desktop. BOOL ShowDesktop { BOOL bShow } Parameters bShow [in] Flag that in

Página 23 - GoodReadLEDOn

API_SCAN RELATED FUNCTIONS...

Página 24 - KeypadLEDOn

ShowExploreToolbar The ShowExploreToolbar function display and hide toolbar on windows explore. BOOL ShowExploreToolbar { BOOL bShow } Parameter

Página 25 - System Related Functions

ShowTaskbar The ShowTaskbar function display and hide the taskbar. BOOL ShowTaskbar { BOOL bShow } Parameters bShow [in] Flag that indicates

Página 26 - EnableAutoConnect

UnRegisterAlphaKeyNotification The UnregisterAlphaKeyNotification function requests that the application no longer receive alpha key pressed notifica

Página 27 - RegisterAlphaKeyNotification

SCANAPIAX.DLL We supply SCANAPIAX.DLL to allow programmer to control scan device status. There are several functions for user to use. User can use WI

Página 28 - ShowChineseIME

keyboard input. z PT_OpenScan2Key – Execute scan.exe to scan barcode data into Terminal key buffer. z PT_CloseScan2Key – Close scan.exe. z PT_SetToDe

Página 29 - ShowDesktop

API_SCAN Related Functions API_Register Register the application to SCANAPIAX.dll, so that SCANAPIAX.dll can communication with the application. It w

Página 30 - ShowExploreToolbar

API_Unregister Unregister the application from SCANAPIAX.dll and close scanner module. void API_Unregister { } Parameters None Return Values No

Página 31 - ShowTaskbar

API_GetBarData Get Barcode into the buffer. When you get the message SM_DATA_READY, call this function to get the barcode data. UINT API_GetBarData {

Página 32

memset(pBuf, 0, uiSize+1); API_GetBarData((LPBYTE)pBuf, &uiSize, &uiType); strBarType.Format(_T("%d"), uiType); for(

Página 33 - SCANAPIAX.DLL

API_GetBarDataLength Get the scan data length. UINT API_GetBarDataLength { } Parameters None Return Values Scan data length Example if(messa

Página 34

Overview The Argox Mobile Computer Software Developer Kit (SDK) Help is intended to assist programmers with the creation of applications for Argox M

Página 35 - API_SCAN Related Functions

API_GetBarType Get the barcode type. UINT API_GetBarType { } Parameters None Return Values Return the barcode type Remarks value Barcode

Página 36 - API_Unregister

API_GetError Get the error code. DWORD API_GetError { } Parameters None Return Values The return value can be one of the following table: Constan

Página 37 - API_GetBarData

API_GetSysError Get the system error code. DWORD API_GetSysError { } Parameters None Return Values Return the system error code that is returned

Página 38

API_GoodRead This function plays a sound when buzzer indication of scan module is enable and flashes the goodread LED when the LED indication of scan

Página 39 - API_GetBarDataLength

API_LoadSettingsFromFile Load scanner setting from file. BOOL API_LoadSettingsFromFile { LPCTSTR filename } Parameters filename [in] the

Página 40 - API_GetBarType

API_Reset Reset the scanner setting to the default. BOOL API_Reset { } Parameters None Return Values Return TRUE if the operation is success

Página 41 - API_GetError

API_ResetBarData Clear the data buffer that the next new scan data can come in. void API_ResetBarData { } Parameters None Return Values None.

Página 42 - API_GetSysError

API_SaveSettingsToFile Save current scanner settings to file. The extension file name is “axs”. BOOL API_SaveSettingsToFile { LPCTSTR filename }

Página 43 - API_GoodRead

API_SaveSettingsToScanner Write the current scanner setting into scanner. BOOL API_SaveSettingsToScanner { } Parameters None Return Values R

Página 44 - API_LoadSettingsFromFile

S2K_IsLoad Check the application scan.exe(scan barcode data into key buffer) is running. BOOL S2K_IsLoad { } Parameters None Return Values The r

Página 45 - API_Reset

SDK Functions When user wants to use SDK to develop their own program, they should link DLL file or LIB file, and include header file SYSAPIAX.H. The

Página 46 - API_ResetBarData

S2K_Load Load or unload the scan.exe. BOOL S2K_Load { BOOL bLoad, DWORD dwTimeOut } Parameters bLoad [in] To set true to load scan.

Página 47 - API_SaveSettingsToFile

SCAN_QueryStatus Query current scanner setting. BOOL SCAN_QueryStatus { int nCommand1, int nCommand2, char *pReturn } Parameters nComm

Página 48 - API_SaveSettingsToScanner

SCAN_SendCommand Send scanner command to change scanner status. BOOL SCAN_SendCommand { int nCommand1, int nCommand2, char *pValue } Par

Página 49 - S2K_IsLoad

Scan2Key Related Functions PT_OpenScan2Key Execute scan.exe to scan barcode data into Terminal key buffer. BOOL PT_OpenScan2Key { } Parameters No

Página 50 - S2K_Load

PT_CloseScan2Key Close scan.exe. void PT_CloseScan2Key { } Parameters None Return Values None. Example PT_CloseScan2Key() Requirements O

Página 51 - SCAN_QueryStatus

PT_SetToDefault Reset the scanner setting. All scanner setting will reset to default value. int PT_SetToDefault { } Parameters None Return Value

Página 52 - SCAN_SendCommand

Scanner Related Functions PT_EnableScanner Enable scanner to scan barcode. This function creates a thread to get scan data from scanner module and st

Página 53 - Scan2Key Related Functions

PT_DisableScanner This function will close scanner module. void PT_DisableScanner { } Parameters None Return Values None. Example PT_Disab

Página 54 - PT_CloseScan2Key

PT_CheckBarcodeData Check whether there is available barcode data in system buffer. BOOL PT_CheckBarcodeData { } Parameters None Return Values T

Página 55 - PT_SetToDefault

PT_GetBarcodeData Get Barcode data and type from system buffer. BOOL PT_GetBarcodeData { UINT * uiBarType, Char * pBuffer, UINT * uiMaxBu

Página 56 - Scanner Related Functions

SYSAPIAX.DLL In this SDK, we supply SYSAPIAX.DLL which includes several functions to allow programmer to control device drivers and system functions.

Página 57 - PT_DisableScanner

Requirements OS Versions: Windows CE 5.0 and later. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT60Program

Página 58 - PT_CheckBarcodeData

PT_SetDefault Reset the scanner setting to default value. BOOL PT_SetDefault { } Parameters None Return Values Return TRUE if the operation i

Página 59 - PT_GetBarcodeData

Scan Key Related Functions EnableTriggerKey This function will enable or disable scan key. DWORD EnableTriggerKey { BOOL bEnable } Parameters

Página 60

GetLibraryVersion Get library version number. int GetLibraryVersion { } Parameters None Return Values The version number. If the return value is

Página 61 - PT_SetDefault

GetTriggerKeyStatus This function will get scan key status. DWORD GetTriggerKeyStatus { } Parameters None. Return Values The return value 1 indic

Página 62 - Scan Key Related Functions

PressTriggerKey This function will trigger scan key. DWORD PressTriggerKey { BOOL bPress } Parameters bPress [in] Flag that indicates whether

Página 63 - GetLibraryVersion

TriggerKeyStatus This function will get scan key press status. DWORD TriggerKeyStatus { } Parameters None. Return Values The return value 1 indic

Página 64 - GetTriggerKeyStatus

Vibrator Related Functions VibratorOn This function turns on or off Vibration indicator DWORD VibratorOn { BOOL bOn } Parameters bOn [in] Flag

Página 65 - PressTriggerKey

Scan Command Table Command1 Command2 Val ue 2 LED indication 0: Disable 1: Enable 5 Indication 3 Buzzer indication 0: Disable 1: Enable 7 Code ID p

Página 66 - TriggerKeyStatus

Check-sum verification 1: One digit 2: Two digits 3 Check-sum transmission 0: Disable 1: Enable 4 Max. code length 0 ~ 64 5 Min. code length 0 ~ 64

Página 67 - Vibrator Related Functions

z ShowDeskTop – Display and hide all icons on desktop. z ShowExploreToolbar – Display and hide toolbar on windows explorer. z ShowTaskbar – Display

Página 68 - Scan Command Table

3 Check-sum transmission 0: Disable 1: Enable 4 Max. code length 0 ~ 64 5 Min. code length 0 ~ 64 6 Truncate leading 0 ~ 15 7 Truncate ending 0 ~ 15

Página 69

3 Check-sum transmission 0: Disable 1: Enable 4 Max. code length 0 ~ 64 5 Min. code length 0 ~ 64 6 Truncate leading 0 ~ 15 7 Truncate ending 0 ~ 15

Página 70

2: Expand to EAN 13 12 Expansion 0: Disable 1: Enable 1 Read 0: Disable 1: Enable 3 Check-sum transmission 0: Disable 1: Enable 6 Truncate leading 0

Página 71

Check-sum verification 1: Enable 3 Check-sum transmission 0: Disable 1: Enable 4 Max. code length 0 ~ 64 5 Min. code length 0 ~ 64 6 Truncate leadin

Página 72

Max. code length 5 Min. code length 0 ~ 64 6 Truncate leading 0 ~ 15 7 Truncate ending 0 ~ 15 8 Code ID setting 0x00 ~ 0xff ASCII code(1 or 2 bytes)

Página 73

Truncate ending 8 Code ID setting 0x00 ~ 0xff ASCII code(1 or 2 bytes) 10 Format 0: Numeric 1: Full ASCII 1 Read 0: Disable 1: Enable 3 Check-sum tra

Página 74

2: 5 digits 3: 2, 5 digits 4: UCC/EAN 128 5: 2, UCC/EAN 128 6: 5, UCC/EAN 128 7: All 11 Truncate/expansion 0: None 1: Truncate leading zero 2: Expand

Página 75

10 Escape sequence Transmit 0: Disable 1: Enable 1 Read 0: Disable 1: Enable 6 Truncate leading 0 ~ 15 7 Truncate ending 0 ~ 15 27 Code-16K 8 Code

Página 76

8 Code ID setting 0x00 ~ 0xff ASCII code(1 or 2 bytes) 11 UCC/EAN 128 emulation 0: Disable 1: Enable 1 Read 0: Disable 1: Enable 4 Max. code length 0

Página 77

Function Return Values Constant Val ue Description E_FUNC_SUCCEED 0x00000000 The function returned without error. E_FUNC_ERROR 0x00000001 The f

Página 78

Audio Related Functions Audio_GetVolume This function queries the current volume setting. DWORD Audio_GetVolume { LPDWORD lpdwVolume } Parameter

Página 79 - Function Return Values

Audio_SetVolume This function sets the current volume setting. DWORD Audio_SetVolume { DWORD dwVolume } Parameters dwVolume [in] Specifies a n

Comentários a estes Manuais

Sem comentários