06-03-2013 06:11 PM
@spaceman_spif wrote:
This thread has been a treasure trove of good info. I have also been wrestling with communication with an FTDI chipset. I'm using a VCP and my program communicates just fine with VISA drivers, but when communication is unexpectedly interrupted (loss of power to unit under test or someone accidentally unplugs the USB communication cable) and I try to restart any communication, neither Windows 7 nor Labview (2010) will see the VCP anymore. Sometimes it takes multiple reboots of both the PC and the FTDI device under test before I can finally see the VCP again. And by saying I don't see the VCP anymore I'm also referring to looking for it in Windows Device Manager as well as LV. This doesn't happen every time, but often enough to be a nuisance. Anyone else have that problem with enumeration?
I have had the same issue with the Virtual COM Port handling in Windows 7. The best (ie. reliable) solution I have found is to go back to the D2XX drivers and DLL calls unfortunately.
10-10-2013 11:38 PM
Can i do many command send one by one (write and read opration) without chipe ftdi D2xx close.
11-29-2014 03:08 PM
Please consider using this free toolkit:
http://sine.ni.com/nips/cds/view/p/lang/en/nid/212767
06-08-2015 04:18 PM
Is there any update on the issue?
I have got a problem with my FTDI FT2232H mini modules running in 245 FIFO asynchronous mode under 2014 Labview 64-bit version.
Problem description:
Two modules do not run simultaneously. Two of four separate device channels have the identical handle or 0 handle when I try to open the devices via Open Device By Description command. The modules work fine when they are alone.
See ZIP attached.
I do not have such problem in the following versions:
2013 Labview, 32-bit
2014 Labview, 32-bit
2009 Labview, 64 or 32 bit.
I can not use 32-bit versions at all due to memory issues and I can not use 2009 version anymore because of new requirements.
The test has been performed on the same hardware and software:
DELL Studio XPS 9100, 24 GB of RAM, Intel i7
OS: Windows 7 Pro
FTDI drivers: D2XX, 2.12.00
06-11-2015 09:44 AM
I managed to get the code working in the Labview 2012 64-bit.
It looks like some special sequence is required to simultaneously open both FTDI modules.
Please, find screenshots attached.
The same code still does not work in Labview 2014 64-bit.
02-10-2016 03:19 AM
For thos who are looking for the LABview driver I2C please see here:
https://lavag.org/files/file/282-mpssedll-labview-driver/
the version for SPI is comming soon
🙂
02-24-2018 01:35 AM
Hi:
I try add the DLL driver when build the 2013 labview project.
see attached file.
but it seem did not install correctly.
can anyone help me how to install correctly?
Thanks
02-25-2018 09:01 AM
Hi:
Please help me. I have add FTDI.dll to the labview project.
I select tool -> import->point to ftdl2.dll and head file.
Is this the right procedure to add dll?
please let me know your steps.
it add to the project.
It have error when build the project, it said vi had error. missed terminal(I think due to not see dll file)
but when I run the vi in my pc. it seem fine.
I attached my files.
Thanks
02-26-2018 09:14 AM
Hi,
The more challenging way to use the D2XX drivers in LabVIEW is to add a Call Library Function Node, point to the i386\FTD2XX.dll driver, select the function, and configure the function prototype parameters. I would not advise doing this, since this has already been provided by FTDI.
If you go to the link below, under the D2XX Function archive section, there is a link to download the D2XX function library for LabVIEW 7.0 and later.
http://www.ftdichip.com/Support/SoftwareExamples/CodeExamples/LabVIEW.htm
You will also need to have the WHQL Certified VCP/D2XX package downloaded. In the link below, there is a table for different operating systems. I assume you are using Windows, so select either 32 bit or 64 bit and download the package (it is currently labeled "2.12.28").
Then when you open the LabVIEW code examples, you probably will need to browse to the i386\FTD2XX.dll driver in the VCP/D2XX package to make the VIs work.
But using this should make it easier than trying to create all of the functions yourself.
I hope this helps,
Gary
02-27-2018 06:50 PM
thanks