Missing Resource File “daqmx.rc” When Opening a VI in LabVIEW

Updated Dec 28, 2023

Reported In

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

  • I get a warning saying that daqmx.rc is missing when trying to open a VI that uses the NI-DAQmx functions:
- This VI needs a driver or toolkit component that is not found. Missing resource file "daqmx.rc".
 
  • All my NI-DAQmx VIs are shown as question marks in LabVIEW. They act normally in older versions of LabVIEW. 
The warning message can look similar to the image below:
 
Warning message

Solution

This error is caused because the full NI-DAQmx driver is not installed, the version installed is not compatible with your version of LabVIEW or if there was data corruption during the installation of the driver. 

To fix this, download a version of the NI-DAQmx driver compatible with your version of LabVIEW and run the installation wizard. After doing so, be sure to restart your computer. Now, your "Software" menu in NI Measurement & Automation Explorer (NI MAX) will show the "NI-DAQmx Device Driver" as being installed:

If the version of the driver NI-DAQmx is compatible with your version of LabVIEW and the error still persists, uninstall the driver and install it again or repair the NI-DAQmx installation.

Additional Information

  • This is a common issue encountered when only the DAQmx Runtime Engine is installed. The Runtime Engine is a separate utility that will allow you to run applications made with NI-DAQmx, but not develop anything with it. If this is the case, the Runtime Engine will show up in NI MAX in the "Software" menu under the "My System" menu.
  • The daqmx.rc file is expected to be in the following path. If you navigate to this folder, and you didn't find the file, reinstall NI-DAQmx driver: C:\Program Files (x86)\National Instruments\LabVIEW 2018\resource\objmgr
 
  • You can see all the compatibility requirements (hardware, software, operating system, etc.) for NI-DAQmx by reviewing the readme of the relevant driver version located at the NI-DAQmx download page.