- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to Example#1 under the CCyUSBDevice class definition of the CyAPI.PDF (Present as part of the FX3 SDK) document for details on handling the PnP events.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to Example#1 under the CCyUSBDevice class definition of the CyAPI.PDF (Present as part of the FX3 SDK) document for details on handling the PnP events.
Best regards,
Srinath S