1 Reply Latest reply on Apr 18, 2019 1:48 AM by SrinathS_16

    how to identify which one is removed?

    fumac_3907466

      If I add two usb in the PC.

      CCyUSBDevice*   m_pCyUSBDevice1;

      CCyUSBDevice*   m_pCyUSBDevice2;

      m_pCyUSBDevice1->Open(0);

      m_pCyUSBDevice2->Open(1);

      However, if remove one usb.

      m_pCyUSBDevice1->Isopen = true;

      m_pCyUSBDevice2->Isopen = true;

       

      1. How to identify which one is remove? Why those are all opened?

      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?