FX2 timeout question

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DaBr_659386
Level 3
Level 3
10 replies posted 10 questions asked 5 replies posted
        Hi, I have a FX2 device running in bulk mode and I'm streaming data from it using the BeginDataXfer -> WaitForXfer -> FinishDataXfer sequence. For continous data it works very well and I'm able to stream 38MBytes/sec with no problems. The application requires data streaming to stop and then resume and when the device stops sending I occasionally lose data and I'm not sure why. I'm trying to understand what happens when less data is available than that requested by the call to BeginDataXfer. I know WaitForXfer will wait up to x ms for the overlapped event to be signalled but does the read request, initiated by BeginDataXfer, continue until all the requested data is received or is the driver somehow notified that the request should terminated? Thanks Dave   
0 Likes
1 Reply
DaBr_659386
Level 3
Level 3
10 replies posted 10 questions asked 5 replies posted
        Does anyone know how to edit a post - all my formatting has been removed!   
0 Likes