LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL files missing from executable

Hello,
I'm using the USB DAQ 6008, and I'm trying to compile a VI into a stand-alone application so that it can run on a computer that doesn't have LabVIEW installed. I successfully created the exe file, as well as an installer, but when I run the exe on the LabVIEW-free computer I receive error messages about missing dll files. I have already installed the necessary hardware drivers for the USB DAQ, but still get errors. I tried manually including the dll files it asks for but with every file I include, it asks for a new one. So far it has asked for 5 dll files and counting. Is this normal? I noticed that some users had similar problems because they hadn't installed the hardware drivers first, but once they installed those drivers the problem went away, whereas my application still requires certain dlls even after I installed the hardware drivers. Some of the dll files it asks for are: nidaq32.dll, niSTCu.dll, nibffru.dll, and more. What could be the problem?
Thanks,
Sima
 
0 Kudos
Message 1 of 6
(5,554 Views)

Hi Sima,

It is quite normal. because you have to include all of Support files that any part of your application uses. these parts maybe VIs or even DLLs that use other DLLs in their functions. you should inspect accurately through your code. As a usual case you must add some DLL files while building your application as "support files". some of these DLLs must be copied in the application folder and some of them in the system folder.

Hope this helps.

Message 2 of 6
(5,545 Views)
Hi Sima,
 
I am trying to run a labview program which i copied from another machine. But i can not run this program as it gives me error that nibffru.dll file is not loaded. I guess this is similar to what you had. How did you fix your problem.
 
can someone send me this dll file? Any ideas?
Thanks.
0 Kudos
Message 3 of 6
(5,516 Views)
Aggie,

In concerns to your issue, I would be curious as to check what this program that you copied over is doing. The dll that you mentioned usually is used for DAQ related things. So is that what you are doing? If so, what DAQ hardware are you using, and what drivers (version) are you using? You want to make sure that your hardware and drivers match that the program was written for. If you do have the correct drivers installed, double check that the dll is supposed to be included with those drivers, you can find this out by checking the readme file of your drivers. If it is supposed to be installed with the drivers, but either isn't or is corrupt for some reason, you may try uninstalling and re-installing the problematic drivers. Try those things, and if you are still having issues post your specs and what the program is doing.

Regards,
-GDE
0 Kudos
Message 4 of 6
(5,477 Views)

Hi GDE,

Yes, I am trying to use DAQ card. and i got my problem fixed. What you suggested is correct. I was using DAQ 6062E and I reinstalled driver Traditional NI-DAQ 7.2. And I guess i got all required dll through this driver and my program is up and running now....

Thanks for your help.

Aggie.

0 Kudos
Message 5 of 6
(5,473 Views)
The problem was happening because there was a confusion between the drivers of different DAQs. The VI that I built used to be for a PCI DAQ board, and I thought I had removed all the hardware VIs of that board and replaced them with those for the USB DAQ. The VI Hierarchy tool was helpful here because I could see that there was still a PCI-DAQ VI leftover somewhere. So, of course my application wouldn't work on a laptop to which I had connected only a USB-DAQ. Previously, the application was running on a desktop computer with a PCI-DAQ board installed. I plucked that remaining VI out and the executable worked just fine.
 
Bottom line: be careful when you transition from one piece of hardware to another 🙂
 

Message Edited by sima on 10-05-2005 06:27 PM

0 Kudos
Message 6 of 6
(5,467 Views)