Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
While implementing a Windows 7 application to read data from IN endpoints I started by following closely “the letter of the law” and looped the CyAPI XferData call to the driver with a buffer length and length according to the documentation namely 512 bytes for high speed and 1024 for super speed. This resulted in very poor performance, as I was missing data. Next I decided to see if I used for the aforementioned call bigger buffer length, which immediately improved performance. However, the upper limit I hit was 32K size buffers, which is really good but for the fact that I still miss some data in between XferData calls. I would appreciate anybody on the forum that may have a solution for me, even if it means making changes to the device driver to handle much bigger buffer transfers.