Unitech PA500 manual SysIOAPI.DLL, Keypad Related Functions

Page 24

6. SysIOAPI.DLL

This DLL provide hardware relative API for user to control scanner, LED, back-light and PC card slot. API functions are provided through DLL 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 *.H and *.LIB for compiler), please refer to Chapter 7 for programming guide.

6.1.Keypad Related Functions

6.1.1. Disable/enable power button

Function Description:

To enable / disable power button

Function call:

VOID DisablePowerButton (BOOL)

Parameter (Input)

TRUE = Disable power button.

FALSE = Enable power button.

Return code:

None

6.1.2.Get CAPS lock status

Function Description:

To check if CAPS is lock or unlock

Function call:

BOOL GetCapsLock (void)

Return code:

BOOL: TRUE : CAPS lock

FALSE : CAPS unlock

6.1.3.Get SHIFT status

Function Description:

To check if SHIFT key is lock or not

Function call:

BOOL GetShift (void)

Return code:

TRUE : Shift lock

FALSE : Shift unlock

-

Image 24
Contents PA500 Programming Manual Automatically enable scanner beam with pressing trigger key USI.DLL Unitech Scanner Interface DLLSCANKEY3.DLL Backward Compatible API for PT930/PT930S’S GET Device ID Update Notes Introduction How to download data from scanner COM definition for PA500 Function call Parameter inputEnable / Disable Scanner Reset ScannerGet error code Returns the system error codeGet scan data Function DescriptionParameter output Get Symbology name Get length of scanned dataGood read indicator Wait for acknowledgement of the last sent commandSave setting to profiles Clear scan data system bufferSave scanner setting into specified file Change scanner setting from specified setting profileAutomatically enable scanner beam with pressing trigger key Parameter output ReturnCheck if auto scanning is enable Test if Scan2Key is enabledStop auto scanning function Check if Scan2Key.exe program is running or notEnable/Disable Scan2Key Send scanner command to decoding chipOnly send single command decoding chip Esc, 0x80+cmd Function callSend command to decoding chip Esc, parameter1, parameter2, …, BCCSpecial Command for control Control command for decoder chipEnable in Communication TRACK1,5 TRACK2,6 TRACK3 Code32setCodabarset LabelcodeUpcaset UpcesetUPC a Disable Decoder PTEnableBarcode Function call Check barcode input Return codeReset all symbologies to default Read barcode dataGet DLL version no Disable laser trigger key Enable laser trigger keyPTEnableBarToKey Function call for VC INT PTVersionvoid Return IntegerSysIOAPI.DLL Keypad Related FunctionsReturn code Bool True Caps lock False Caps unlock Return code True Shift lock False Shift unlockScanner Related Functions ParameterInputLED related function ExampleLCD/Backlight related function ParametersInputDynamic Load DLL Get Device ID Update notes
Related manuals
Manual 84 pages 14.34 Kb