Access The Scanner With Your Program; Acquire Scanned Data; Send Data To The Scanner - Newland NLS-HR3290 User Manual

Corded 2d barcode scanner
Hide thumbs Also See for NLS-HR3290:
Table of Contents

Advertisement

Access the Scanner with Your Program

Use CreateFile to access the scanner as a HID device and then use ReadFile to deliver the scanned data
to the application program. Use WriteFile to send data to the scanner.
For detailed information about USB and HID interfaces, go to www.USB.org.

Acquire Scanned Data

After scanning and decoding a barcode, the scanner sends the following input report:
Byte
7
0
1
2-57
58-60
61-62
63
-

Send Data to the Scanner

This output report is used to send data to the device. All programming commands can be used.
Byte
7
0
1
2-63
29
6
5
Report ID = 0x02
Length of the barcode
Decoded data (1-56)
-
-
6
5
Report ID = 0x04
Length of the output data
Output data (1-62)
Bit
4
3
AIM ID
Reserved
-
-
Bit
4
3
Enter Setup
2
1
Decoded
-
-
Data
Continued
2
1
** Exit Setup
0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents