From: John T. <jt...@gn...> - 2016-04-24 10:56:26
|
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 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 where to start. >> >> So far I've loaded pyusb 1.x and can get a list of the USB busses and >> I've found out how to use pydoc to get the docs. >> >> JT >> >> ------------------------------------------------------------------------------ >> Find and fix application performance issues faster with Applications Manager >> Applications Manager provides deep performance insights into multiple tiers of >> your business applications. It resolves application problems quickly and >> reduces your MTTR. Get your free trial! >> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z >> _______________________________________________ >> pyusb-users mailing list >> pyu...@li... >> https://lists.sourceforge.net/lists/listinfo/pyusb-users >> > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > pyusb-users mailing list > pyu...@li... > https://lists.sourceforge.net/lists/listinfo/pyusb-users |