FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:



Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


Author Topic: FT_Open for multiple devices connected  (Read 672 times)

poorna.chandranr

  • Newbie
  • *
  • Posts: 2
    • View Profile
FT_Open for multiple devices connected
« on: March 13, 2018, 09:31:40 AM »

Hi, Trying to connect multiple devices and enumerate, We are using FT_Open API() to achieve this.
We connected devices through USB, ie COM3 and COM11. Each time when we execute FT_Open with incremented index.
The returned handle is same for both the calls.
The serial number is same for both the devices.

Ex :
FT_CreateDeviceInfoList returns - 2 (Number of devices connected : 1-with COM3 and 2nd-with COM11)
Iterate through the list of devices(2).
Used FT_Open to open the handle of device to get the COM Port using FT_GetComPortNumber .
1st Iteration : FT_Open returns handle of device connected to COM3
2nd Iteration : FT_Open returns handle of devie connected to COM3 again (COM11 expected here).

Issue : FT_Open not openning and giving handle other than device index 0.

Please suggest any better methods to achive, Or guide us if we missed any step in doing this.

Driver version : FTDI-CDM-Driver-21224
Logged

FTDI Community

  • Administrator
  • Full Member
  • *****
  • Posts: 148
    • View Profile
Re: FT_Open for multiple devices connected
« Reply #1 on: March 13, 2018, 11:48:05 AM »

Hello,

I believe your query is already being dealt with privately via email by our support team.

Best Regards,
FTDI Community
Logged

poorna.chandranr

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: FT_Open for multiple devices connected
« Reply #2 on: March 13, 2018, 12:46:17 PM »

Yes, Thanks..
Logged