2 Replies Latest reply on Apr 16, 2019 12:05 AM by giantmfc_3907466

    how to control two fx3 usb respectively?


      I will use two fx3 usb to communication with my devices. When I use the friendlyname to get the usb name. I only get one usb name, and I only control the newest opened usb. how to control two fx3 usb simultaneously and respectively?

      CCyUSBDevice*   m_pCyUSBDevice;
      for (UCHAR i = 0; i < m_pCyUSBDevice->DeviceCount(); ++i){
              bool isOpen = m_pCyUSBDevice->Open(i);
              if (isOpen){
                  QString friendly_name = m_pCyUSBDevice->FriendlyName;
        • 1. Re: how to control two fx3 usb respectively?



          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.


          Best regards,

          Srinath S

          • 2. Re: how to control two fx3 usb respectively?

            Thanks for your kindly reply. if i control two usb.

            CCyUSBDevice*   m_pCyUSBDevice1;

            CCyUSBDevice*   m_pCyUSBDevice2;



            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?