Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
10 ratings:
 3.39 out of 5     Rate this Document

I Cannot Run My VirtualBench Instrument Because a SubVI is Not Executable.

Primary Software: Other NI Software>>VirtualBench
Primary Software Version: 2.5
Primary Software Fixed Version: N/A
Secondary Software:

Problem: When I try to run a VirtualBench instrument, I receive this error message:
A subVI is not executable. The full development version 
of LabVIEW is required to fix the errors.


Solution: If you receive this error, VirtualBench cannot find a required DLL. Because VirtualBench is written in LabVIEW, the LabVIEW engine reports this error. All versions of VirtualBench require NI-DAQ to be installed. VirtualBench 2.5 or later also require NI-VISA and NI-IVI to be installed. If these drivers are not properly installed, you will receive this error.

You might also get this message if:

  • You don't have nifgen_32.dll, niscope_32.dll, nidsa.dll.

  • You have multiple copies of the above DLLs and they are different versions (3/11/99 version ships with 2.51).
If you are using VirtualBench 2.5 or later, you might also get this message if:
  • You don't have ivi.dll, ividmm.dll, ivipower.dll, ivifgen.dll, iviscope.dll, or iviswitch.dll.

  • You have multiple copies of the above DLLs and they are different versions (3/11/99 version ships with 2.51).

  • Any of the above DLLs are not installed in the \windows\system or \VXIPNP\win95\bin or \VXIPNP\winnt\bin directory.

  • Your \VXIPNP\win95\bin or \VXIPNP\winnt\bin directory is not in your PATH environment variable, your PATH has spaces or invalid characters in it, or your PATH is too long.

  • LabVIEW 6.0 has been installed on your system--it incorrectly inserts the path in your autoexec.bat file as:

      \VXIpnp\Win95Bin     (missing a '\', similar for Windows NT)

  • (Affects VirtualBench-Scope) You have installed niScope 1.6 and IVI Driver Toolkit 1.1 or CVI 5.5 on the same machine. See Knowledge Base article 22H8IBCG
Check to make sure you have the DLLs listed above by selecting Start » Find. If not, install the appropriate driver (NI-IVI, NI-FGEN, NI-SCOPE, and so on). If you have multiple copies of one of the DLLs, delete the earlier versions and any duplicates.

If you have the DLLs, make sure that they are in a directory that is part of you PATH environment variable by typing path at a DOS prompt. If they are not, add the directory to your PATH line in your autoexec.bat file. If the directory is there, make sure it does not have any spaces in it or anywhere before it or invalid characters. (Entries in the PATH must be in the DOS filename format of 8.3 characters.) Also, your PATH can contain a maximum of 127 characters, so remove any duplicate entries and any directories that are not necessary.

Related Links: Drivers and Updates: NI-DAQ
Drivers and Updates: NI-VISA
Drivers and Updates: IVI Engine

Attachments:





Report Date: 12/31/1999
Last Updated: 10/18/2002
Document ID: 1SUFK2TS

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit