My LabVIEW Application Cannot Find Instrument Driver VIs

Updated Apr 9, 2023

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Driver

  • Instrument Drivers

Issue Details

I have built a LabVIEW application which contains VI's from a Plug and Play Instrument Driver . The code runs in the development environment, but once it is built into an executable it cannot locate the VI's from the Instrument Driver. This issue occurs even on the development computer. How can I fix this?

Solution

Note: if you are dynamically calling the missing VI's, check here instead.

After downloading the Instrument Driver , make sure you are extracting the entire .zip folder to the instr.lib folder on your computer which is located here:

C:\Program Files (x86)\National Instruments\LabVIEW <version>\instr.lib

After doing so, you can place the Plug and Play VI's on a VI's Bock Diagram with the following steps:
  1. Right-click on the Block Diagram.
  2. Navigate to Instrument I/O » Instr Drivers » <Plug and Play Instrument Driver Name>.
  3. Left-click the specific Plug and Play VI you wish to place on the Block Diagram and place it like you would any other VI.
Adding the Plug and Play VI's to any VI in a project will automatically update that project's dependencies. An example of this is shown below using the Agilent Technologies / Keysight Technologies 34401A Plug and Play Driver:
 
 

After the dependencies are update, you should be able to build and run your application as you normally would with no additional steps.