To access the devices separately, the CCyUSBDevice->VendorID/ CCyUSBDevice->ProductID combination of the device's descriptor can be used. Alternatively, you can define a unique serial number string in the device descriptor and can be checked on the host application using the CCyUSBDevice->SerialNumber.
Thanks for your kindly reply. if i control two usb.
However, if remove one usb.
m_pCyUSBDevice1->Isopen = true;
m_pCyUSBDevice2->Isopen = true;
1. How to identify which one is remove?
2. If the removed one is inserted, how to open it? I don't know which one?
3. Could you help to descripe the solution by codes more detail?