Re: [pyusb-users] Barcode Scanner

2016-04-24 Thread Steven Michalske
John, Not knowing your exact barcode scanner is a real hindrance. One good piece of information you forgot to provide was what exactly you were interfacing to. USB barcode scanner is too generic, you need read http://catb.org/esr/faqs/smart-questions.html That being said the VID is from

Re: [pyusb-users] Barcode Scanner

2016-04-24 Thread Dietmar Schwertberger
On 24.04.2016 14:34, John Thornton wrote: > I've established communications with it and added a udev rule and added > myself to the scanner group so I could talk to the scanner. And the > results so far are: A long way to go... > On 4/24/2016 6:06 AM, Dietmar Schwertberger wrote: >> button and

Re: [pyusb-users] Barcode Scanner

2016-04-24 Thread John Thornton
In this case it is a hand scanner to test the code with as the second project is an operator will scan a bar code and auto load the G code file into the CNC software. I've established communications with it and added a udev rule and added myself to the scanner group so I could talk to the

Re: [pyusb-users] Barcode Scanner

2016-04-24 Thread John Thornton
The basic process is a part with a data sheet comes down the conveyor and when the part is in position the data sheet is scanned. The info from the data sheet is used by the controlling program to select the correct part program and other things. JT On 4/23/2016 10:38 AM, Tom Sanders wrote: >

Re: [pyusb-users] Barcode Scanner

2016-04-24 Thread John Thornton
The problem with that is I have to scan a G code file name into LinuxCNC without any operator. So it has to be automatic. JT On 4/23/2016 10:38 AM, Tom Sanders wrote: > Most barcode scanners work like keyboards: they simulate keypresses. > IMO using pyusb is propably overkill. I would go for

Re: [pyusb-users] Barcode Scanner

2016-04-23 Thread Tom Sanders
Most barcode scanners work like keyboards: they simulate keypresses. IMO using pyusb is propably overkill. I would go for the standard keyboard input routines. Cheers Tom > I'm trying to scan a barcode into a python program. Are there any > tutorials on doing this with pyusb? Or any hints on