bewilderments in using cyapi in Visual C++

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable
        cyapi functions' use   
0 Likes
3 Replies
Anonymous
Not applicable

BulkInEndPt will select the Bulk IN endpoint in exposed by the device i.e. say the device exposes 2 IN and 2 OUT bulk endpoints. BulkINEndPt will select the 1st of the BULK IN endpoints.

   

BulkOutEndPt will select the 1st of the BULK OUT endpoints.

   

Use the CCyBulkEndPoint class and its initialization methods to get handle to the BULK endpoint you want to communicate with.

   

Regards,

   

Anand

0 Likes
Anonymous
Not applicable
        Dear Anand, appreciated your imediate reply.according to your reply,the first in/out endpoint is selected by default.so how to choose the desired endpoint,can you show me the funnctions.furthermore,it would be very kind of you to tell me the procedure(or code example is best) in VC++ to launch a bulk in transfer.thanks again for your prompt answer Regards, Ian Fuchy(in China)   
0 Likes
Anonymous
Not applicable

Hi Ian,

   

CyAPI.pdf itself has such a example, page 9 under CCyBulkEndPoint section itself, the endpoints are being accessed using EndPoints array.

   

Regards,

   

Anand

0 Likes