Hello Emiliano,
On Friday, 9. March 2012 11:36:58 emiliano paterlini wrote:
> Hello,I'm trying to wrap almost all functionalities of the D2XX FTDI's
> closed source library to libftdi.How can I retrieve the status (number
> of bytes in the queue) of the rx/tx queue using libftdi?I cannot find
> specific functions to do this in the API....please help!!! Thank you
> very much!Emiliano Paterlini
The D2XX library uses threads and collects the data into an internal buffer.
So if you request the number of bytes in the queue, it hands back the number
of bytes already read.
You can of course emulate this behavior using threads, too.
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|