4 Replies Latest reply on May 16, 2017 12:09 AM by nisa

    problem when using FX3 C# streamer  example

    maxiang_1408696

      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[k] into queue without filling with new data.

         

      As follows:

         

      // Re-submit this buffer into the queue 

         

      if (OutEndPoint.BeginDataXfer(ref cBufs[k], ref xBufs[k], ref len, ref oLaps[k]) == false)
          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.