Unitech PA500 manual Send command to decoding chip, Esc, parameter1, parameter2, …, BCC

Page 15

2.25.Send command to decoding chip

Function Description:

Send command to decoder chip. This is a variation of command HAM_SendCommand. It will read a number of parameters and packet them as in following format and send it to decoder chip.

Esc, parameter1, parameter2, …, BCC

The total number of parameters is specified by first parameter num.

Function call:

BOOL HAM_SendCommand2(BYTE num, BYTE parameter1, …);

Parameter: (input)

num: BYTE: number of total parameters

parameterx BYTE: Parameter

Parameter: (output)

Return:

TRUE = indicates the command has been successfully sent to queue to output.

-

Image 15
Contents PA500 Programming Manual USI.DLL Unitech Scanner Interface DLL Automatically enable scanner beam with pressing trigger keySCANKEY3.DLL Backward Compatible API for PT930/PT930S’S GET Device ID Update Notes Introduction How to download data from scanner COM definition for PA500 Parameter input Function callReturns the system error code Enable / Disable ScannerReset Scanner Get error codeGet scan data Function DescriptionParameter output Get length of scanned data Get Symbology nameClear scan data system buffer Good read indicatorWait for acknowledgement of the last sent command Save setting to profilesParameter output Return Save scanner setting into specified fileChange scanner setting from specified setting profile Automatically enable scanner beam with pressing trigger keyCheck if Scan2Key.exe program is running or not Check if auto scanning is enableTest if Scan2Key is enabled Stop auto scanning functionEsc, 0x80+cmd Function call Enable/Disable Scan2KeySend scanner command to decoding chip Only send single command decoding chipEsc, parameter1, parameter2, …, BCC Send command to decoding chipControl command for decoder chip Special Command for controlEnable in Communication Code32set TRACK1,5 TRACK2,6 TRACK3Upceset CodabarsetLabelcode UpcasetUPC a Return code Disable DecoderPTEnableBarcode Function call Check barcode inputReset all symbologies to default Read barcode dataGet DLL version no Function call for VC INT PTVersionvoid Return Integer Disable laser trigger keyEnable laser trigger key PTEnableBarToKeyReturn code True Shift lock False Shift unlock SysIOAPI.DLLKeypad Related Functions Return code Bool True Caps lock False Caps unlockParameterInput Scanner Related FunctionsExample LED related functionParametersInput LCD/Backlight related functionDynamic Load DLL Get Device ID Update notes
Related manuals
Manual 84 pages 14.34 Kb