Ports
May 21, 2013, 03:02:23 am
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: SMF - Just Installed!
Home
Help
Search
Login
Register
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Ports
>
General Category
>
USB
>
Getting readings/data from a usb device?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Getting readings/data from a usb device? (Read 616 times)
johnjameson
Member
Posts: 2
Getting readings/data from a usb device?
«
on:
April 10, 2012, 12:43:08 pm »
Hey guys,I've been reading over some example code for detecting a usb when its put into a pc and just wondering where is there any example code for taking data from a usb device
for example reading data from a sensor?
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 1626
Re: Getting readings/data from a usb device?
«
Reply #1 on:
April 10, 2012, 01:06:55 pm »
My HID and WinUSB example code can read data for any purpose:
http://www.lvr.com/hidpage.htm#MyExampleCode
http://www.lvr.com/winusb.htm
Or you can use a USB virtual serial port device and access the device as if it were a physical serial port:
http://www.lvr.com/serport.htm
Also see:
http://www.lvr.com/usbfaq.htm
http://www.lvr.com/usb_on_a_budget.htm
Jan
Logged
johnjameson
Member
Posts: 2
Re: Getting readings/data from a usb device?
«
Reply #2 on:
April 11, 2012, 11:11:20 am »
Wow,thanks Jan,alotta info there.
I plan to take readings from this sensor once I get a handle on the code
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> USB
=> Serial Ports
=> Embedded Ethernet
=> Parallel Port
=> Other Interfaces
=> General Discussion
Loading...