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: FT2232H How to create and work with two channels?  (Read 166 times)

Pereubu123

  • Newbie
  • *
  • Posts: 1
    • View Profile
FT2232H How to create and work with two channels?
« on: September 28, 2018, 03:01:45 PM »

In the documentation: "..
each channel would be opened with a different instance
and ... Open: 
ftStatus = myFtdiDeviceCHA.OpenByIndex(0);
ftStatus = myFtdiDeviceCHB.OpenByIndex(1);
..."


The question is how to open two instances:

FTDI myFtdiDeviceCHB = new FTDI();
ftStatus = myFtdiDeviceCHB.OpenByIndex(1);

I am writing in C#.
From there I should  access BDBUS and BCBUS...

But I could not access B channel?
Have I done something wrong?
« Last Edit: September 28, 2018, 03:50:58 PM by Pereubu123 »
Logged