It depends on the timeout value that you specify when you trigger the transfer. Please look at CyAPI.lib and CyUSB.dll documentation in SuiteUSB for more details.
Tthank you! I understand it.
But how to konw wether the transfer is successful or failed, while using function BeginDataXfer,WaitForXfer and FinishDataXfer?
using the value returned by these functions.