Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

failure "linker.cpp", line 2302

How to solve this problem?
0 Kudos
Message 1 of 4
(2,858 Views)
Hi Sasha,

Which hardware and software are you using? Is it with the NI-DAQ driver that you are receiving this error? The more info you can provide the easier to diagnose.

A couple easy solutions to similar problems is to uninstall/reinstall the NI-DAQ driver (remove hardware from machine during process). Another solution is to create a new project and copy the raw source code from the one project to the other (helps in C or in LabVIEW).

Usually this error is associated with a file that is missing from the project. Anyway, if these suggestions don't help, provide as much info as possible and we can try to diagnose further.

Hope that helps. Have a good day.

Ron
0 Kudos
Message 2 of 4
(2,858 Views)
Hi Ron,

Thanks for the tips.

I am working in windows 98, using Labveiw 6.1 and NI DAQ AT-MIO-16X. I had to download and install special drivers for this board.

And the failure happens when I try to open a project that uses these drivers.

Sasha 1
0 Kudos
Message 3 of 4
(2,858 Views)
Hi Sasha 1,

Yes, you will first have to uninstall NI-DAQ that was shipped with LabVIEW. Make sure you have no reference to NI-DAQ on your system. You will then want to install NI-DAQ 6.1 on your system (which is the last driver to support your board).

What probably happened was that you installed NI-DAQ 6.1 over NI-DAQ 6.9.2 and the problem is that the LabVIEW VIs for DAQ still referenced the old driver. Therefore when LabVIEW tried to call them at run-time, you got the linker error since the driver no longer existed on the system.

You might have to go through a couple steps to clear things correctly. You might have to uninstall NI-DAQ 6.1, reinstall NI-DAQ 6.9.2 and then uninstall NI-DAQ 6.9.2 (remove reference from LabVIEW) and th
en reinstall 6.1.

It might simply be easier to remove all NI software on your system by uninstalling it from Add/Remove Programs and then reinstalling LabVIEW without the DAQ driver and then install the NI-DAQ 6.1 driver.

Anyway, hope that helps. Have a good day.

Ron
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(2,858 Views)