Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,562 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,902 people online right now. Registration is fast and FREE... Join Now!




Vb6 Usb In Interrupt

 
Reply to this topicStart new topic

Vb6 Usb In Interrupt, Vb6 Usb In Interrupt

martin_green
8 Apr, 2008 - 11:22 AM
Post #1

New D.I.C Head
*

Joined: 8 Apr, 2008
Posts: 1

Hi,
I have a device that I originally designed to work on the mscomm1 interrupt.
I have now redesigned it to work on USB (not a lot of redesign, I use the same protocol as in serial).
The serial protocol has some autonomus transmits to the CPU.
I the USB version I send a request for data and then get multiple packets.
As a result I need an interrupt when there is an IN transaction on USB.
I tried making a short timeout on read and having that code embedded in a 1mS timer.
That does not work well. I really need to get an interrupt when ever there is an IN packet from the USB device.
Any ideas?
Thanks,
Martin Green
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 11:42PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month