The NI-DAQmx VIs Are Missing in LabVIEW Functions Palette

Updated Mar 20, 2024

Reported In

Software

  • LabVIEW

Driver

  • NI-DAQmx
  • Traditional NI-DAQ

Issue Details

When I open the Measurement I/O Palette on the block diagram, I do not see the DAQmx VIs as expected. Everything worked well, but after formatting my computer and installing all the necessary software and drivers, my program didn't work. The reason was not finding the subVIs that are referring to the NI-DAQmx driver.
What exactly do I need to install to make the VI executable again?

Solution

The drivers are necessary to provide the normal working environment for your program. It is possible that you have installed all the drivers that are needed, but you have problems corresponding to the execution of the program in LabVIEW. After doing changes on your device it is possible that it has affected your driver DLL files as well.
The Data Acquisition palette relies upon two installations: the LabVIEW installation and the DAQ driver installation. When the NI-DAQmx drivers are installed, the installer will automatically detect the version of LabVIEW present on the computer. Most often, the DAQ support for these versions of LabVIEW is being installed after the installation of LabVIEW. Unfortunately, this means that if you upgrade to a newer version of LabVIEW you will need to add DAQ support for the newer version of LabVIEW by modifying/reinstalling your DAQmx drivers.

Steps to ensure driver VIs appear in LabVIEW:

  1. Ensure that all development environments being used (LabVIEW, CVI, etc.) have been installed before installing the drivers. Installing LabVIEW after the installation of the driver will not update the functions palette with those driver VIs. In this case, it is only necessary to modify the installation for those drivers that do not appear on the functions palette to include support for LabVIEW.
  2. Install the most current supported version of your device driver which is compatible with your version of LabVIEW, and be sure to include support for your specific LabVIEW version when prompted.
  3. Close and reopen LabVIEW. You should now see the appropriate icons for all installed drivers on the functions palette.
  4. There are several other reasons why certain functions may not appear on the palette. If the above-mentioned steps do not resolve the problem, see the related links below or contact NI support. 
Steps to add driver VIs if LabVIEW has been installed after the NI-DAQ drivers:
  1. Open the Add or Remove Programs dialog from the Windows Control Panel.
  2. Select the NI Software entry and click Change/Remove.
  3. Choose NI-DAQmx and click Modify to add support for your version of LabVIEW.
Verify that the proper menu files have in fact been installed correctly: 
  1. If the respective DAQ and DAQmx VIs have been installed correctly, their menu files should be present: C:\Program Files\National Instruments\LabVIEW X.X\vi.lib.
  2. The associated menu files should be installed in the following location: C:\Program Files\National Instruments\LabVIEW X.X\menus\default. These menu files are ultimately what link the installed VIs to the functions palette in LabVIEW.

Additional Information

Note : If you have LabVIEW 6.1 and upgrade to NI-DAQ 7.4.1 and LabVIEW 8.0, the DAQ palette from LabVIEW 6.1 will disappear. NI-DAQ 7.4.1 provides support only for LabVIEW 8.0, 7.1, and 7.0.  In order to get Traditional NI-DAQ support for LabVIEW 6.1 while LabVIEW 8.0 is still installed, it is necessary to load the NI-DAQ 7.4 driver which will remove the Traditional DAQ support for LabVIEW 8.0. It is still possible to load NI-DAQmx 8.0 in order to have the latest DAQmx support in LabVIEW 8.0.