|
| | |
|
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.
|
- 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.
- Motorola
- Intermec
- Psion
- Cipherlab
- Unitech
- Honeywell
- Datalogic
- Pidion
- M3
- Denso
- ACD
- PointMobile
- Newland
- Internal APIs supported in Android.
- Motorola
- 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.
|
Updated : 2/7/2017 11:27 AM
|
| |
|
|
|