USB scanner in HID mode

bfeas, if the barcode scanner is emulating a serial port, then I highly recommend using a program such as TCPCom (https://www.taltech.com/tcpcom). This program opens the serial port, listens and forwards data to Ignition via Ethernet (utilize Ignition’s TCP/UDP driver). This also continues to work even if the client doesn’t have Ignition open…if that matters to you. This way you get status of connection to the software and you can do what you need with the incoming data. This all depends on what your application does, but for me, this worked out great. Alternatively, you can read up on what Phil Turmel has to say here: How to listen serial data without interruption.

2 Likes