Access The Scanner With Your Program; Acquire Scanned Data; Send Command To The Scanner; Vid/Pid - Newland NLS-NVH300 Series User Manual

Industrial handheld barcode scanner
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 a barcode is decoded, the scanner sends an input report as below:
Byte
7
0
1
2-57
58-61
62
63
-

Send Command to the Scanner

This output report is used to send commands to the scanner. All programming commands can be used.
Byte
7
0
1
2-62
63
-

VID/PID

USB uses VID (Vendor ID) and PID (Product ID) to identify and locate a device. The VID is assigned by USB Implementers
Forum. Newland's vendor ID is 1EAB (Hex). A range of PIDs are used for each Newland product family. Every PID
contains a base number and interface type (keyboard, COM port, etc.).
77
6
5
Newland Symbology Identifier or N/C: 0x00
-
-
6
5
-
-
Bit
4
3
Report ID = 0x02
Barcode Length
Decoded Data (1-56)
Reserved (1-4)
-
-
Bit
4
3
Report ID = 0x04
Length of command
Command
-
-
2
1
Decoded data
-
-
continued
2
1
Command
-
-
continued
0
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nls-nvh300-dpNls-nvh300-hd

Table of Contents