LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Added static linking DLL + LIB to my project, now running program in IDE is taking a long time

I added two LIB and DLL files to my project. The project builds sucessfully in a few seconds.

 

However, when I run the program in the IDE, it takes over 3 minutes to start executing code after building. This is in both the Debug and Release modes. I have never had it be this slow before, but I cannot find what could be causing the issue.

 

Thanks.

 

I am running CVI 2103 SP2 on WIN7 x64.

0 Kudos
Message 1 of 3
(2,969 Views)

Jkuzman,

 

 Thank you for putting in your operating system and software versions. That is an interesting issue, can you explain your project a little bit more and what types of LIB and DLL files you are adding to your application?

 

Depending on the functionality created by the LIB or DLL files, there could be various reasons or solutions for why the IDE takes so much longer.

Regards,

Ali S.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 3
(2,938 Views)

After coming back to this project after  a few months, everything builds in a few seconds and then starts to execute in less than 40s. This is an improvement over what I was seeing before. 

 

I am using two FTDI libraries:

 

http://www.ftdichip.com/Drivers/D2XX.htm

ftd2xx.lib ftd2xx.h which provide direct access to FTDI's usb to rs232 devices

 

http://www.ftdichip.com/Products/Modules/DevelopmentModules.htm#Morph-IC

MORPHPRG.lib MORPHPRG.dll which provide access to FTDI's Morph-IC-ii platform in order to program the onboard FPGA. 

0 Kudos
Message 3 of 3
(2,647 Views)