PORTS Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
This forum is closed to new activity.
The posts are available to browse, but posting has been disabled. BIG THANKS to all who have participated and shared your knowledge over the past 13 years.
Aug 11, 2023
Home
Help
Search
Login
Register
PORTS Forum
»
Ports and Interfaces
»
USB
»
Detect WinUSB pending read
« previous
next »
Print
Pages: [
1
]
Author
Topic: Detect WinUSB pending read (Read 8792 times)
lcpoon
Frequent Contributor
Posts: 58
Detect WinUSB pending read
«
on:
June 05, 2015, 05:16:19 am »
How to use VB.net to detect if the WinUSB device is pending for read?
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 3033
Re: Detect WinUSB pending read
«
Reply #1 on:
June 05, 2015, 09:31:16 am »
My .NET example WinUSB code is here:
http://janaxelson.com/winusb.htm
There is no way to detect in advance if a device has data to send. Just try a read and time out if no data.
Logged
Print
Pages: [
1
]
« previous
next »
PORTS Forum
»
Ports and Interfaces
»
USB
»
Detect WinUSB pending read