|
|
 | | From: | RMPPOD | | Subject: | What am I missing when I get the message "A subIV is not executable?? | | Date: | Wed, 19 Jan 2005 13:40:20 -0600 (CST) |
|
|
 | I am in the process of rehosting my National Instruments software from a 20= 0MHz PC using Windows 2000 to a 866MHz PC using Windows 2000. The original= computer was setup to use the PCI-6071E DAQ Board and the NI 5911 Scope Bo= ard and I had no problems running VirtualBench-Scope. The NI 5911 came wit= h NI-Scope Software Version 1.1 (500783B-00) which included Version 2.5 of = VirtualBench-Scope. After installing NI-Scope 1.1 to the new computer, I r= ecieved this error message:
"A subVI is not executable. The full de= velopment version of LabVIEW is required to fix the errors."
Upon re= ceiving this error, I went on line and searched the KnowledgeBase and found= suggested solutions under "I Cannot Run My VirtualBench Instrument Because= a SubVI is Not Executable". I investigated and tried all suggested soluti= ons and still have the same error when I try to run the VirtualBench-Scope = application.
Before I transfered the NI 5911 and the PCI-6071E to th= e new computer, I ran the application Belarc Advisor to get a listing of th= e programs and applications that were installed on the old computer. Below= is a list of the National Instruments related programs:
NI-DAQ = 6.9.3 NI IVI Engine 1.83 NI Measurement & Automation Explorer 2.2.0r>GPIB Analyzer Demo Add GPIB Hardware Version 1,0,0,1 ComponentWorks= Version 2.00.0019 ComponentWorks Version 2.1 Explore GPIB Applicatio= n Version 1,0,0,1 Getting Started Application Version 1,0,0,1 Measure= ment & Automation Explorer Version 2.2.0.3010 NI-VISA for Windows Versio= n 2.6.0 None Version 0.0.0 Server Explorer Version 2,4,0,2 LabView= Version 5.1.1 Corp. NI Spy Version 1.5.0 NI-SCOPE Soft Front Panelr>
Current listing on the new computer using Belarc Advisor showed t= he following National Instrument applications:
NI IVI Engine 2.0 = NI Measurement & Automation Explorer 3.0.2 NI Timing 1.1.0 IVI Scpe s= oft-front panel ComponentWorks Version 2.00.0019 ComponentWorks Versi= on 2.1 Imaq Configuration Utility Version 2,1.0,2 INI to XML Converte= r Version 1.0.0.7 Measurement & Automation Explorer Version 3.0.2.3005r>NI NI-SWITCH Soft Front Panel Version 1.1.0 NI-IMAQ for Windows Versi= on 2.1 NI-VISA for Windows Version 3.0.1 Server Explorer Version 2,4,= 0,2 NI-DAQ Version 7.1.0f1 LabView Version 5.1.1 Corp. NI Spy Ver= sion 2.0.0
Where do I find a corrected version of the SubVI that cou= ld be causing this error? Is there another program or application I need t= o install to restore VirtualBench-Scope to its original functionality? <= br>A solution to this would be greatly appreciated.
Thanks,
= RMPPOD
|
|
 | | From: | Chad AE | | Subject: | Re: What am I missing when I get the message "A subIV is not executable?? | | Date: | Thu, 20 Jan 2005 18:10:49 -0600 (CST) |
|
|
 | Hi Richard M. Purser,
If you get this error, it is because VirtualBe= nch cannot find a required DLL. Since VirtualBench is written in LabVIEW, t= he LabVIEW engine reports the error about a VI not being executable and the= full version being required to fix it. All versions of VirtualBench requir= e NI-DAQ, VirtualBench 2.5 and higher also require NI-VISA and NI-IVI, be i= nstalled. If these drivers are not properly installed then their DLLs will = not be found and you will get this error. In your case, it seems like the n= iscope_32.dll or iviscope.dll is not being found.
You may get this m= essage if:
1. You don't have niscope_32.dll 2. You have multiple= copies of the .dll's and they are different versions 3. You don't have = iviscope.dll 4. You have multiple copies of the .dll's and they are diff= erent versions 5. Any of the above dlls are not installed in the correct= directory. 6. If your \vxipnp\win**\bin directory is not in your PATH = environment variable, your PATH has spaces/invalid characters in it, or you= r PATH is too long.
If you don't have niscope_32.dll or iviscope.dl= l on your computer (Check by doing a find files) install the appropriate dr= iver (NI-IVI, NI-FGEN, NI-SCOPE, etc). If you have multiple copies of one o= f the dlls delete the older ones as well as any duplicates. If you have the= dlls make sure that they are in a directory that is part of you PATH envir= onment variable (go to a DOS prompt and type 'path'). If they are not add t= he directory to your Control Panel > System > Environment Variables(NT/2000= ). If the directory is there make sure it doesn't have any spaces in it or = anywhere before it or invalid characters. (All entries in the path must be = in the DOS filename format of 8.3 characters.) Also there is maximum number= of characters (127) that your path can contain, so if you remove any dupli= cate entries and any directories that are not necessary, this can help as w= ell.
Typically the problem is with VISA or IVI. The problem is the = installer puts in the wrong entry for the path. Just adding a slash so the = path is corrected should fix the problem but I have seen strange behavior a= fter doing that. There is some documentation that states "to be sure of a f= ix modify the LabVIEW installation to remove visa and either install it wit= h VirtualBench or run the VISA 2.01 installer."
For you personally, = I would first try to uninstall/reinstall NI-Scope 1.1 or install NI-Scope 1= 5. Let me know if the reinstall is successful!
Chad AE Applicat= ions Engineer
|
|
|