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


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - tomg

Pages: [1]
1
sachin0005,

I use the FTD2XX_NET library with .NET 4.5.2 and use the Write() and GetRxBytesAvailable() functions without problem.

Apologies, but a basic question up front.  Have you opened the FTDI device?   Your example code does not indicate that you have.

            UInt32 numDevs = 0;
            FTDI.FT_STATUS ftStatus = ftdi.GetNumberOfDevices(ref numDevs);
            FTDI.FT_DEVICE_INFO_NODE[] deviceList = new FTDI.FT_DEVICE_INFO_NODE[numDevs];
            ftStatus = ftdi.GetDeviceList(deviceList);
            foreach (FTDI.FT_DEVICE_INFO_NODE node in deviceList)
            {
                    ftStatus = ftdi.OpenByDescription(node.Description);
                    string comPort;
                    ftStatus = ftdi.GetCOMPort(out comPort);

                    //.....
             }
???
tom

Pages: [1]