08-12-2011 11:22 AM
I have a couple of VIs that involve a 5112 and 5124 digitizer. They work fine by themselves, but when I try to compile an application containing these VIs, I get an error -1074118608: The specific niScopeDAQ or niScopeDMF dll could not be loaded.
I had a couple of other errors in the same application about DLLs that also did not show up when running the VIs, but I fixed those by copying the DLLs from wherever they were into my C:/Windows/system folder. I tried copying niScope_32.dll into C:/Windows/system, but no dice.
I am running 64-bit Windows 7 and LV 2010.
Anyone have any ideas? Thanks!
08-15-2011 02:24 PM
Hello Maxwellb,
Are you running your built application on your development computer or on another computer? If you are running the application on another computer, you must have the device drivers installed on that computer. Copying the DLLs over from one computer to another is not always sufficient to get the hardware running. Driver installation will copy the DLLs to the system folder but also register the DLLs in the Windows registry.
Eric
08-16-2011 11:14 AM
Eric,
That's the odd thing about this. I am running the application on the development computer. So the VIs load and run no problem. Only the application has this issue.
Max
08-17-2011 11:53 AM
Hello Maxwellb,
The issue is a bit unusually considering this is on your development machine. Do you happen to be calling any DLLs with a static reference? It is possible to call a DLL from a reference within the Windows’ registry but have it called with a static reference at another time.
Would you be able to provide software/ driver version and possibly code samples? If you want, you can provide a MAX report which identifies the hardware and software versions.
http://digital.ni.com/public.nsf/allkb/271F252B4EF0A2E0862570E70056A1E4
If you prefer not to a MAX report, you can provide NI-Scope and NI-DAQmx version numbers along with any other hardware driver that may be called by your application.
Eric