Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

LabVIEW SignalExpress Code Generation Errors After Updating LabVIEW and Drivers

Primary Software: LabVIEW Signal Express>>Development System
Primary Software Version: 1.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>Full Development System

Problem:
I was using LabVIEW with LabVIEW SignalExpress and recently upgraded to a later version of LabVIEW. I installed new drivers to support my new version of LabVIEW and now I cannot import SignalExpress projects into LabVIEW. What caused this problem and how can I fix it?

Code Generation Error:

The version of LabVIEW you are generating code into does not contain all the necessary SignalExpress support files. Make sure you launch the version of LabVIEW with SignalExpress support installed before generating code from SignalExpress. If you want to generate code into more than one version of LabVIEW, uninstall SignalExpress and all versions of LabVIEW except the earliest. Install SignalExpress, then install any other versions of LabVIEW. Copy the files from the vi.lib\express\SignalExpress directory of the earliest installed version of LabVIEW into the same sub-directory location of any other version of LabVIEW in which you want to include support for code generation.




Solution:
This problem occurs when you upgrade LabVIEW but do not install LabVIEW SignalExpress support for the latest version. This occurs when you install in the following order:
  1. Install LabVIEW
  2. Install LabVIEW SignalExpress
  3. Install a later version of LabVIEW
  4. Install NI Driver CD with NI-DAQmx 8.5 or above and disable the installation of LabVIEW SignalExpress. The default option on the Driver CD is to install LabVIEW SignalExpress, which will overwrite the earlier version of LabVIEW SignalExpress.
This problem occurs because parts of LabVIEW SignalExpress are installed automatically by the NI Driver CD, even if you have disabled the installation of LabVIEW SignalExpress. When these parts are updated they install VIs based on the current version of LabVIEW, which is the latest version of LabVIEW installed in the order listed above. However, in this scenario, the first install of LabVIEW SignalExpress installs all of its support for the current version of LabVIEW when it was installed (which would be the version installed in step 1 listed above). This installation scenario will confuse the LabVIEW SignalExpress code generation engines, which will not know to use the later version of LabVIEW instead of the original version of LabVIEW.

You can solve this issue in two ways:
  • Completely reinstall LabVIEW SignalExpress.
    1. Install LabVIEW SignalExpress from your driver CD or download it from the page linked at the end of this document.

    Notes:
    • This ensures that all of the components of LabVIEW SignalExpress are updated and point to the same version of LabVIEW.
    • This method is preferred because it associates all of the VIs with the same version of LabVIEW and puts them all in the same location.
    • The NI Driver CD contains the full installer for LabVIEW SignalExpress, which will be installed by default.
  • Manually copy the necessary VIs from the older version of LabVIEW to the new version.
    1. Copy the following files to the new folders, where X.X represent the version of LabVIEW:

    2. C:\Program Files\National Instruments\LabVIEW X.X\project\Express Workbench
      C:\Program Files\National Instruments\LabVIEW X.X\vi.lib\express\SignalExpress
      C:\Program Files\National Instruments\LabVIEW X.X\vi.lib\addons\SignalExpress

    3. For example, if upgrading from LabVIEW 7.1 to LabVIEW 8.2, you would copy the files listed from:
      1. C:\Program Files\National Instruments\LabVIEW 7.1\
      to
        C:\Program Files\National Instruments\LabVIEW 8.2\

    Notes:
    • This action will enable SignalExpress to generate code in the latest version of LabVIEW and will also enable the code generation engines to find all of the VIs they need.
    • This option is NOT preferred because it relies on having VIs scattered in many locations all saved in different versions of LabVIEW but it will work.


Related Links:
Drivers and Updates: SignalExpress Version 2.0 for Windows 2000/Vista x64/Vista x86/XP

Attachments:





Report Date: 05/01/2007
Last Updated: 07/23/2008
Document ID: 490M8L84

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