473,566 Members | 3,273 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Has anyone used PyUSB?

9 New Member
Hi,

Just wondering if anyone has any simple examples of PyUSB.

Thanks,
Tony
Apr 16 '07 #1
5 6866
bartonc
6,596 Recognized Expert Expert
Hi,

Just wondering if anyone has any simple examples of PyUSB.

Thanks,
Tony
I'm hot on a USB project at the moment. Garmin doesn't go through usblib, but I'm studying the PyUSB implementation.
Apr 16 '07 #2
TonyAm
9 New Member
It's a shame they're doing away with serial rs232. Looks like we really should be doing usb instead.

I'm in the same boat. Let me know if you would like to exchange info.

I'll post whatever I dig up on the net.

Thanks,
Tony
Apr 16 '07 #3
bartonc
6,596 Recognized Expert Expert
It's a shame they're doing away with serial rs232. Looks like we really should be doing usb instead.

I'm in the same boat. Let me know if you would like to exchange info.

I'll post whatever I dig up on the net.

Thanks,
Tony
I've dug up tons. Let me know if you need anything.
Apr 16 '07 #4
robingfx
5 New Member
I'm hot on a USB project at the moment. Garmin doesn't go through usblib, but I'm studying the PyUSB implementation.
What do you mean by this? Does that mean I can't access my Garmin with pyUSB? I have spent days trying to get pyUSB to work, and now that it works and I try to find the product information for my Garmin I get this error message (below). How do I circumvent this?
usb.USBError: usb_control_msg : sending control message failed, win error: The I/O operation has been aborted because of either a thread exit or an application request.
Apr 26 '07 #5
bartonc
6,596 Recognized Expert Expert
What do you mean by this? Does that mean I can't access my Garmin with pyUSB? I have spent days trying to get pyUSB to work, and now that it works and I try to find the product information for my Garmin I get this error message (below). How do I circumvent this?
usb.USBError: usb_control_msg : sending control message failed, win error: The I/O operation has been aborted because of either a thread exit or an application request.
Nope. You can't use PyUSB because of the way Garmin installs on your system (I assume Windows?<edit: figured from other post by OP>). I'll post some code, but I'd like you to start a new discussion. In there you might want to show some of your work with PyUSB for our member's benefit.

Thanks for joining.
Apr 27 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

6
6130
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but my mappings between named colors, HEX values and the Long Integer values used in Access are not jibbing. Anyone have a nice list laying around? ...
4
2497
by: Hai Nguyen | last post by:
I'm learning C sharp and do not like vb much. I'm creatiing a wepage using panel to test myself. I tried to use these code below, which is written in VB, and to transform them to c sharp but I got hard time to understand vb syntax. I don't know if anyone in here can point out which is the equivalent object used in c sharp. Translate these...
0
2486
by: Brian Basquille | last post by:
Hello all. Quick question for anyone that has used RawMouse / RawInputMouse (and for anyone that hasn't used it.. look here: http://link.mywwwserver.com/~jstookey/arcade/rawmouse/). RawMouse is basically a program for managing multiple mouses independently but connected to the same machine using MAME. It's been ported to C# recently...
6
1798
by: Aaron Smith | last post by:
Has anyone used ComponentOne's Enterprise studio that comes in the VB.Net resource kit? I like some of the controls they have, but I've had a few wierd issues and I am wondering if that's a sign of things to come... Thanks, Aaron -- --- Aaron Smith Remove -1- to E-Mail me. Spam Sucks.
1
10290
by: Max M | last post by:
Hi.. My supervisor just asked to me to "learn" python... and write a script that gets info from a "GPS receiver" that it's connected to the "usb" port.. so i downloaded and built the pyUsb and libusb.. and i managed to learn the syntax which was quite easy.. and now am left with the job of the "coding".. to be honest i never in my...
11
1795
by: Faisal Vali | last post by:
Hi - I'm new to javascript and I was reading the book Javascript Professional Projects - there is a fragment that has me a little perplexed, and I was wondering if anyone could explain why and how it works. How is it that setting a property to null alters another property? For example setting optionObject.options = null; seems to set...
169
8959
by: JohnQ | last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post). It would be more than a little bit nice if C++ was much "cleaner" (less complex) so that it wasn't a major world wide untaking to create a toolchain for it. Way back when, there used to be something called "Small C". I wonder if the creator(s) of that would want to...
3
7317
by: robingfx | last post by:
This seems like a pretty straight forward thing to do, but I just can't get pyUSB to install properly. I download the .gz file from SourceForge and run the normal "python setup.py install". I get this message: >python setup.py install running install running build running build_ext error: Python was built with Visual Studio 2003;...
0
2146
angelie
by: angelie | last post by:
im trying to communicate with an humain interface device using python's pyusb. i need to acquire data using the interrupt transfer type. i have two endpoints, EP1 = interrupt, out EP2 = interrupt, in 1 configuration (configuration 1) 1 interface (interface 0) idVendor = 0xFFFF
0
7673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7893
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8109
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6263
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1202
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.