12-04-2013 05:35 AM - edited 12-04-2013 06:01 AM
I had labview 2012 32bit installed on my PC(win-7) with all required (daq, scope & all other) drivers, and it was working fine. Suddenly labview was not able to load "niScope_32.dll" while loading my VI. I tried to repair it with same version of scope drivers(3.9.4) but problem didn't solved. I tried to locate niScope_32.dll i found it in C:\Program Files (x86)\National Instruments\RT Images\NI-Scope, when i browse & gave this location while loding VI labview gave error saying nipalp.dll was not found.
So I removed full labview and tried with clean installation (from NI CD) but same problem.
12-04-2013 01:19 PM
You mention that "suddenly" it stopped working. Can you think of anything that changed on your system between when it worked and stopped? System update, NI Driver update, installation, etc. Please post the MAX report here as well.
When you uninstalled NI-SCOPE, did you also uninstall DAQmx and NI-SCOPE runtime? In what order did you make changes? Normally, LabVIEW must be installed first, and then the NI-SCOPE driver.
12-04-2013 01:59 PM
Here are some other things you can try:
1. Try to run an example (NI-SCOPE example found in the example finder. Configured Acquisition.vi is a good one.) in LabVIEW and see if it works. This should give us a baseline.
2. Regardless of whether it works or not, uninstall the NI-SCOPE Run-Time from the National Instruments Software Add/Remove entry in "Add/Remove Program" from the control panel. This should prompt you that you have to also remove the driver as well. Reboot and then install 4.1, then reboot again.
http://www.ni.com/download/ni-scope-4.1/4078/en/
3. Try running the same example again to verify if it works/still doesn't work
Other information that would be helpful to us:
-What is the file size of the NI-SCOPE Soft Front Panel.exe located in C:\Program Files (x86)\IVI Foundation\IVI\Drivers\niScope and what files are located in the C:\Program Files (x86)\IVI Foundation\IVI\Drivers\niScope\data directory. There should be three of them.
Let me know how this goes.
12-04-2013 02:14 PM - edited 12-04-2013 02:19 PM
Can you think of anything that changed on your system between when it worked and stopped? System update, NI Driver update, installation, etc.
No there was no system update, or ni update... But all I can think of is I had installed "prolific USB to serial" & "WinAVR" software , I uninstalled "prolific" one after error in labview ..
After error, when I connected to net ni labview & scope patch got resumed- downloading & updated in my system
Please post the MAX report here as well. Done attached
When you uninstalled NI-SCOPE, did you also uninstall DAQmx and NI-SCOPE runtime? In what order did you make changes? Normally, LabVIEW must be installed first, and then the NI-SCOPE driver.
12-04-2013 03:16 PM
uninstall the NI-SCOPE Run-Time from the National Instruments Software Add/Remove entry in "Add/Remove Program" from the control panel. This should prompt you that you have to also remove the driver as well. Reboot and then install 4.1, then reboot again.
done...
I had started uninstallation before your reply. but had tried to run some other scope example & it was not working.
even after installation of scope 4.1 i am getting same error while running Configured Acquisition example from "C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\instr\niScope" screen shoot attached.
file size of the NI-SCOPE Soft Front Panel.exe located in C:\Program Files (x86)\IVI Foundation\IVI\Drivers\niScope 14297KB
what files are located in the C:\Program Files (x86)\IVI Foundation\IVI\Drivers\niScope\data directory. There should be three of them.
Date looks old shouldn't it be today's??
-Malay
12-05-2013 11:06 AM
The dates in the screenshot are correct, they are the dates when the DLL files were packaged into the installer, not when they were installed onto your system.
Also, it looks like the MAX report you sent is old, of your system before you upgraded to niScope 4.1. Can you send an updated one?
Is the DLL file located in C:\Program Files (x86)\IVI Foundation\IVI\Bin or C:\Program Files\IVI Foundation\IVI\Bin?
The following paths are valid for your LabVIEW 20XX version.
Can you verify that the folder "C:\Program Files (x86)\National Instruments\LabVIEW 20XX\instr.lib\niModInst" exists? This is the location of the VI's that the Soft Front Panel are having trouble finding, which might be true if the following are missing:
Check if the files niModInst.* appear in the folder: C:\Program Files (x86)\National Instruments\LabVIEW 20XX\resource\objmgr
Same for sessionReference.*
Its beginning to sound like your installer is corrupt, or the system is in a strange state preventing the installer from installing all the driver files correctly.
-Nathan
12-05-2013 12:54 PM
MAX report after upgrad to niScope 4.1 is attached.
Yah, niScope_32.dll is there at "C:\Program Files (x86)\IVI Foundation\IVI\Bin"
yes, "C:\Program Files (x86)\National Instruments\LabVIEW 20XX\instr.lib\niModInst" exists
both niModInst.* and sessionReference.* (4 files with extn. .ctrl .rc .rch .ver) exists at C:\Program Files (x86)\National Instruments\LabVIEW 20XX\resource\objmgr
by "installer is corrupt" which one do you mean?
and about " the system is in a strange state preventing the installer from installing all the driver files correctly. " how can i find that out? because my PC is working fine with all other thing.
-Malay
01-15-2014 03:32 PM
The last thing I can think of to try is to ensure that the DLL's path are included in the "Path" system variables under "Enviroment Variables" system Properties.
I hope this helps.
Nathan
07-01-2015 01:14 AM
WinAVR may under some circumstances delete your "Path" system variable during installation.
I'm guessing the solution posted by Nathan-P worked?
-Ove
07-01-2015 01:30 AM
Hi,
It's too old thread,
since i was not able to find any solution at that time ( before nathan's reply), i had made last choice of formatting my PC and re installing windows - labview.
I didnt tried solution posted by Nathan-P.
-Malay