Hi, sergio
Both the "barcode1Length" and "barcode1Status" read value 0.
When I plugged the USB bar-code scanner into one of the USB ports of my PC, it works well. From the Device Manager, I found out that it is detected as USB Input Device (under the category of Human Interface Devices). So, I guess this is why it is detected as keyboard. And, with the Panel USB Port configured as "Tx/Rx, 115200, 8, None, 1, 50", it certainly won't work with the Panel USB Port setting.
kokhua