LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Import Shared Library Crashing

I am trying to create VI wrappers for the FT4222 dll from FTDI. Going through the wizard gives me some problems I'm not sure how to solve.

 

In the folder I have the LibFT4222.dll, LibFT4222.h, and stdint.h. The wizard tells me I need the ftd2xx.h file. When I add this file to the folder, the wizard crashes as soon as I press next on the "Configure Include Paths and Preprocessor Definitions" page. It crashes Labview completely with no errors or popups. It must be the ftd2xx.h file that's causing the issue, but I can't fathom why - I got it directly from the FTDI site. Does anyone know why the dll import wizard would crash like this?

 

I'm using 32bit 2022 Labview.

0 Kudos
Message 1 of 2
(119 Views)

Have you looked into just using community wrappers, so you don't have to wrestle with this, or ideas?

 

https://www.vipm.io/package/aj_lv_ftdi_driver_for_i2c_spi_gpio/

 

https://lavag.org/topic/19453-cr-mpssedll-labview-driver/

 

Also, in the lavag forum, I had a similar issue with different ftdi drivers where it would crash, and found a workaround. That might work for you as well.

0 Kudos
Message 2 of 2
(81 Views)