Reputation: 60
I have two barcode scanners which are connected to a single PC via USB ports. I want to insert data coming from them into SQL Server. How I can know which one of them sends the string?
My Windows Forms app has only one textbox. Barcode scanners are passive devices without any IP or MAC address.
Upvotes: 2
Views: 114
Reputation: 2759
you can usually configure the last character the handscanner "types" by scanning a specific QR code in the user manual. Its often "Enter" or "Tab" You can configure both scanners to have different termination characters and if you implment your application in a way to differentiate between the two, you can easlily identity which handscanner was used
Upvotes: 4