Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. talk to USB ports

talk to USB ports

Scheduled Pinned Locked Moved Visual Basic
comtutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dev_Calz
    wrote on last edited by
    #1

    Hello, I am going to programming to a finger print scanner. I am unable to get the sdk for the device. Does anybody know where to start to program to a usb device. I can talk to the com ports with out any problems.. But I can not figure out how to talk to the usb ports.. Thanks Chris Calzaretta:confused:

    D 1 Reply Last reply
    0
    • D Dev_Calz

      Hello, I am going to programming to a finger print scanner. I am unable to get the sdk for the device. Does anybody know where to start to program to a usb device. I can talk to the com ports with out any problems.. But I can not figure out how to talk to the usb ports.. Thanks Chris Calzaretta:confused:

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      First, do you have the drivers for the scanner? If not, your going to need the low-level docs on the scanner hardware so you can write your own device driver. That's just to TALK to the device. You'll probably find those docs in the SDK that you can't get. Next, you'll need the documentation on the command protocol the scanner uses. You have to know the language the scanner speaks. Again, probably in the SDK you can't get. Without these docs, your not going to know how to get the device initialized, send commands, receive and interpret responses, perform properly formatted data transfers, or whatever else the device needs... Next, there are no native classes to VB or VB.net that allow you to easily communicate over USB. You'll either have to search the web to try and find any or have to write something yourself. These would be good places to start:

      http://msdn.microsoft.com/library/default.asp?url=/library/en-us/buses/hh/buses/usbhdr\_32nb.asp
      http://www.lvr.com/usb.htm

      RageInTheMachine9532

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups