- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to use EZ-USB FX3 C# Streamer Example to transfer data from Host to Device as fast as possible.
The XferData function in the example re-submit the xbufs
As follows:
// Re-submit this buffer into the queue
if (OutEndPoint.BeginDataXfer(ref cBufs
Failures++;
I opened a new big buffer with data to transfer.The data is read from a file before start the loop.
If I modify xBufs' content, the device will at most accept 4 package; if not, It is fast enough.
The functions is here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please let me know what problem you are facing. We have provided Streamer application in FX3 SDK, which uses the same method of asynchronous Xfers. Please check and let me know if you have questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See the attachment,find the line:xBufs
If this line is commented,this function will run very good.If not commented, successes will be 4 ,and successes and fails will not be increasing.Then if I reopen the host software, successes will be 0 too.So I have to reset device board.
My purpose is transfer data from host to device,the sooner the better.The data comes from a file of host.My host is win7 and Visual Studio 2010.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or do you have a streamer C# example which transfer dynamic data, such as from/to a file ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content