Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

VB6 File not found: nicaiu.dll, DLL not registered

Hello,

I am using a USB-6009 with Ni-DAQmx 9.1 in 64bit Windows 7.

When I load sample VB6 code and try to run it I get the error "File not found: nicaiu.dll".

I have installed VB6 support and verified presence of nicaiu.dll in both system32 and syswow64.

When I run a third party program to check if nicaiu.dll is registered it says it is not registered. When I try to register it I get another error: "Failed to register C:\Windows\System32\nicaiu.dll: error 127 - The specified procedure could not be found."

Any help would be greatly appreciated.

0 Kudos
Message 1 of 7
(6,776 Views)

Did complete uninstall and registry entry delete per this thread and VB6 code is working now.

 

http://forums.ni.com/ni/board/message?board.id=250&requireLogin=False&thread.id=12643

0 Kudos
Message 2 of 7
(6,764 Views)

Hi,

I am using a USB-6008OEM with Ni-DAQmx 8.5 in XP.

I've been using these roducts with no problem for some time, but one day the nicaiu.dll file apparently dissappeared.

I saw this thread, so I proceed to a complete reinstall, but it didn't work.

I've tried the 9.2.2 Ni-DAQmx version, and still doesn't work.

I've tryed to register the dll file, but it's useless.

 

What should I do?

 

I'm relying on this, I wish I could get an answer asap.

 

Thanks!

0 Kudos
Message 3 of 7
(6,313 Views)

Hello Sentinel,

 

When you performed the reinstall, did you follow the link to remove all registry elements with MSI Blast after you uninstalled all NI products? After doing this, did it still not work? If you could provide more information on this, I would be able to help you with this.


Jim St
National Instruments
RF Product Support Engineer
0 Kudos
Message 4 of 7
(6,294 Views)

Jim,

Yes, I used the MSI Blast soft and followed all the procedures found here:

http://forums.ni.com/ni/attachments/ni/250/34391/2/MSI%20Blast.pdf

 

I did the uninstall once before because I did something wrong in the install, but it worked fine back then.

Now, even after reinstall, I still get this message:

 

 

Function DAQmxGetDeviceAttribute: (return value == -200397 0xfffcf133).
Unable to load NI-DAQmx dynamic link library NICAIU.DLL.
Ensure that NI-DAQmx is installed on yuor machine.

 

 

But the NI-DAQmx is installed. Right now I installed version 8.5 that came with the 6008OEM DAQ, but I also tryed version 9.2.2 and still got that message.

Also, I made a clean install on a different PC (1st time on that computer) and still got the same error.

 

It sounds like there's a corrupt installation file... any suggestions?

 

Thanks, Gonzalo.

0 Kudos
Message 5 of 7
(6,286 Views)

Info update:

I updated to 2010 CVI, and the problem is still there.

 

Should I uninstall everything with the MSIBlast and try to install this new version alone?

0 Kudos
Message 6 of 7
(6,282 Views)

Hello Sentinel,

 

Here is what I would do to get this issue fixed:

 

1.) From Add/Remove programs, remove all NI software installed there.

2.) After this, follow the MSI Blast.pdf to remove the rest of the NI software.

3.) Install CVI 2010.

4.) Download 9.2.2 onto your machine from NI.

5.) In CVI try to run an DAQmx example program. Navigate to the Example Finder (from the main page of CVI 2010, click on Find Examples...) and select ContAcq-IntClk.prj under the folder Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage.

6.) If this runs, then try to run a VB6 example.


Jim St
National Instruments
RF Product Support Engineer
0 Kudos
Message 7 of 7
(6,251 Views)