|
| | |
|
Connects to a Barcode device.
Parameters
DeviceType numeric
The type of barcode device to use.
it can be one of:
-
0 - Internal API.
Uses the device manufacturers API to connect to an internal or external scanner.
-
1 - Serial Port.
Connects to an external scanner using a serial port.
Barcode Sufix expression string.
The control character or characters that indicate the end of the barcode.
Normally it is an ENTER.
If this parameter is an empty string, the barcode is considered complete when nothing is received from the scanner for a few milliseconds (normally 100 ms), but can return invalid results if multiple barcodes are scanned in a very fast succession.
Background Connection numeric.
Specifies whether the connection is made or not in the background.
it can be one of:
-
1 - YES
Connects in the background without blocking the application untill it succeeds
-
2 - NO
Blocks the application and waits until the connection succeeds.
Device string
The name of the device string specifying the serial port to open.
Leave empty for system default.
For example "BT1:" in Windows or "/dev/ttyS1" in Android.
Port numeric
The COM Port Number.
A negative value specifies an LPT port.
Baud Rate numeric
The baud rate for the serial port that user wants to open.
There are several pre-defined values for this parameter. For more information, see the notes.
Data Bits numeric
The number of data bits transmitted thru the serial port.
it can be one of:
Stop Bits numeric
The number of stop bits in the serial port.
it can be one of:
Parity numeric
The number of parity bits in the serial port.
it can be one of:
- 1 - None,
- 2 - Even,
- 3 - Odd.
- 2-Bluetooth.
Connects to an external scanner using bluetooth.
Barcode Sufix expression string.
The control character or characters that indicate the end of the barcode.
Normally it is an ENTER.
If this parameter is an empty string, the barcode is considered complete when nothing is received from the scanner for a few milliseconds (normally 100 ms), but can return invalid results if multiple barcodes are scanned in a very fast succession.
Background Connection numeric.
Specifies whether the connection is made or not in the background.
it can be one of:
-
1 - YES
Connects in the background without blocking the application untill it succeeds
-
2 - NO
Blocks the application and waits until the connection succeeds.
MAC Address string
The MAC Address of the device.
- 3 - Socket.
Connects to an external scanner using TCP/IP sockets.
Barcode Sufix expression string.
The control character or characters that indicate the end of the barcode.
Normally it is an ENTER.
If this parameter is an empty string, the barcode is considered complete when nothing is received from the scanner for a few milliseconds (normally 100 ms), but can return invalid results if multiple barcodes are scanned in a very fast succession.
Background Connection numeric.
Specifies whether the connection is made or not in the background.
it can be one of:
-
1 - YES
Connects in the background without blocking the application untill it succeeds
-
2 - NO
Blocks the application and waits until the connection succeeds.
Host Address string
The Host Address of the device.
Port numeric numeric
The Port Number.
- 4 - External API.
Uses an external Java library provided by you to interact with the barcode scanner
Jar File <string>: defines the full path and name of
the JAR or APK file that contains your barcode interface implementation.
Class
Name <string>: Fully classified class name that contains the function to execute.
See Notes for more details.
User Parameters <string>: String expression with any value that we will pass in the call to the Method Name.
|
- The pre-defined values for the Baud Rate are: 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 56000, 57600, 115200 and 128000.
- If Device String value is specified, the actual number in Serial Port is ignored to open the port, but you must specify the same Serial Port in subsequent Serial ... actions called to use the same port opened in this action.
- Internal APIs supported in Windows CE/Mobile.
- Zebra
- Intermec
- Psion
- Cipherlab
- Unitech
- Honeywell
- Datalogic
- Pidion
- M3
- Denso
- ACD
- PointMobile
- Newland
- Internal APIs supported in Android.
- Zebra
- Intermec
- Cipherlab
- Honeywell
- Datalogic
- M3
- Denso
- Start Asura
- Adlink
- PointMobile
- Newland
- Internal APIs supported in Windows 10.
In Windows 10 the API used is from the Operating System. So any device that complies with Win10 Windows.Devices.PointOfService.BarcodeScanner API should be supported.
- External API option allows you to implement an interface with a barcode scanner SDK and use standard Kalipso Barcode... actions to interact with it.
- You can find the android java library containing the interfaces in Designer folder under "Plugins\Android\libs"
-
- You should create a class that implements the KExternalScannerAPI interface. Then you pass in the path to the JAR/APK file you created and you must pass the name of the class that implements this interface. Kalipso will create an instance of this class, and any call to Kalipso Barcode... actions will be translated into a call to the corresponding Interface method.
-
- The KExternalEventsInterface that you will receive in the Connect() call allow you to send barcode scan events and other additional events to Kalipso to App Notifed events in Kalipso forms and to register callbacks for some events to be sent to you from Kalipso. See RunJar.
|
Updated : 3/27/2020 4:22 PM
|
| |
|
|
|