×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

usb event receive data?

usb event receive data?

usb event receive data?

(OP)
hello, i'm new at C# and i'm trying to make event that active each time i receive data from a usb port, anyone have a good idea that help me a little at least.

i'm using a bulk usb device type, and i have all the comunication w/ the usb already, i only need the way of implement a event for this.

ty

RE: usb event receive data?

You will need to get a 3rd party C# interface to connect to a USB port, unless you want to go down to Win32 APIs yourself.
Googling will initially give you:
http://www.lvr.com/hidpage.htm
http://sourceforge.net/projects/libusbdotnet/

There may be better ones, though I haven't used any of them. Before there is one lib available from sharpDevelop website, but it's not there anymore (maybe it's now the libUsbdotnet?).

Hope this help wink

RE: usb event receive data?

(OP)
Ty for the answer bigsmile

I already did a win32 API and works fine, but cant make any event or interrupt.

I will try to use the lib to see if it works better that way.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close