SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

using libusbdotnet

Last post 07-17-2008 8:50 PM by Blue Ninja. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-19-2008 10:52 AM

    using libusbdotnet

    what i want to do is program a periodic pulse from one of my usb ports.  however, from the little i know about usb IO, it seems as though there needs to be a device connected in order for pakages, or in my case pulses, to be sent out.  if it is possibe to just send pulses to an LED for instance, how would i do this using libusbdotnet.  oh generally speaking, are there any tutorials using libusdotnet. thanks. 

  • 06-19-2008 10:51 PM In reply to

    Re: using libusbdotnet

    There does indeed need to be a device attached. Unlike serial ports, when you send data through USB, you're sending it through to a specific device on the bus. There isn't (that I know of) a way to send a generic pulse to all attached devices. You would first need to connect to your device, then begin using it from there.

    I was disappointed at the lack of flexibility in many USB libraries (such as many lacking features in SharpUSBLib) and their dependencies on lower-level drivers such as LibUSB. So, I wrote my own. While I'd hardly call it comprehensive or complete just yet, I have used it in several commercial projects with USB devices quite successfully. It has no external dependencies, and with the exception of 2 or 3 API calls, is built in 100% managed code.

    I expect to get around to making it available on my site at some point - I already have a discussion/support forum set up for it and a project set up in the issue tracker, but have been too busy with some other projects to focus much on this one.

  • 06-20-2008 2:48 AM In reply to

    Re: using libusbdotnet

     thanks for the clarification.  look forward to seeing your library.

  • 07-17-2008 8:50 PM In reply to

    Re: using libusbdotnet

    As of today, the code for my HIDLib is now available. It's an early release only tested against a few specific devices for a specific client, but you're welcome to try it out. Hopefully you find it useful! I have made the support forums and issue tracker public, though the SVN repository is not yet public. The source, binaries, and docs for this release are posted in the release announcement.

    http://www.blueninjasoftware.com/news/1-latest-news/50-hidlib-public-alpha-released.html

Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.