PORTS Forum

Ports and Interfaces => USB => Topic started by: lcpoon on June 05, 2015, 05:16:19 am

Title: Detect WinUSB pending read
Post by: lcpoon on June 05, 2015, 05:16:19 am
How to use VB.net to detect if the WinUSB device is pending for read?
Title: Re: Detect WinUSB pending read
Post by: Jan Axelson 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.