cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

Anonymous
Not applicable

 The difference between synchronous api and asynchronous api approch

   

   
        
   
    i have one thing ask you about cyapi.    
   
        
   
    Could you explain that synchronous API approch(xferdata) and asynchronous API approch(begindataxfer, waitforxfer, finishdataxfer) approch?   
   
    As i know, they are have different to use the queue. But i'm not sure.    
   
    If you can could you please more detail easly?   
   
        
   
    Thanks   
   
        
0 Likes
Reply
1 Reply
Anonymous
Not applicable

 asynchronous api return as soon as the transfer request is called and synchronous api doesn't return till the transfer completes or timeout happens. Therefore asynchronous api would let you queue transfers making it faster. actually synchronous api is just asynchronous api without queueing.

   

Regards,

   

Anand

0 Likes
Reply