Library Expired or Invalidly Licensed Error in LabVIEW

Updated May 27, 2024

Reported In

Software

  • LabVIEW

Issue Details

I am trying to run a LabVIEW VI that uses functions from a LabVIEW library, but I receive a broken run arrow and find a message similar to the below examples:
 
  • When I try to run my application using NI-IMAQdx VIs to acquire images from my camera, I receive the following error message: 


Library that contains the VI or item is not properly licensed. 

This VI or item belongs to a library that it is expired or not invalidly licensed. Activate the license of the library to edit or run the VIs and items the library owns. For more information on activating this VI or item's owning library, see the error message on this VI's or item's library.

imaq image.jfif
 

  • When I open a VI that utilizes the LabVIEW Database Connectivity Toolkit, I receive the following error message: 


The LabVIEW Database Connectivity Toolkit is expired or invalidly licensed.

The LabVIEW Database Connectivity Toolkit is expired or invalidly licensed on this computer. To purchase this product, contact National Instruments. If you have already purchased this product, select the Help >> Activate LabVIEW Components to activate this product.
rtaImage.jfif

 

Solution

This error can occur when the LabVIEW library is not properly licensed or has not been installed correctly. To fix this issue, refer to the following steps:
 
  • Make sure you have the correct LabVIEW edition for your application. For example the Signal Processing VIs, such as the FFT VI, require LabVIEW Full or Professional Development System, trying to run a VI containing this function while using LabVIEW Base will produce the library error.
  • If you are using a LabVIEW toolkit:
  1. Check the toolkit's status in NI License Manager.
    • In case the issue relates to toolkits that do not appear in NI License Manager in normal conditions, such as the LabVIEW Internet Toolkit and the Desktop Execution Trace Toolkit, skip Step 1.
    • In case the issue relates to NI-IMAQdx API, the driver is installed with NI Vision Acquisition Software. The NI-IMAQdx is a licensed driver and requires a purchased license for each computer that is going to run programs that call its functions. With that, ensure the computer has an active license for the driver.
    • If the toolkit appears as unlicensed, you can refer to Activating NI Software Products for guidance.
    • If the toolkit the VI is part of is already licensed, ensure the requirements on the software version and edition are met. This can be done by checking LabVIEW Documentation or Readme files.
    • If the toolkit doesn't show up in NI License Manager at all:
      1. Navigate to C:\ProgramData\National Instruments\License Manager\Licenses and delete its associated license file, which should be named similar to LabVIEW_XXXXXXTK_PKG_XX0000.
      2. Download and install the toolkit in evaluation mode. If the software is no longer available online, refer to the article Download Older Versions of NI Software.
      3. Once complete, restart the computer and try to re-activate the software from NI License Manager. If the software is running in a virtual machine, reboot the entire host machine as well. 
  2. In case the issue persists, repair, reinstall or force reinstall the toolkit as it may be corrupt.
  • If all your licenses seem to be properly set and the error just suddenly started occurring, you can try rebooting your machine since your operating system could have failed at loading the appropriate references from LabVIEW and NI License Manager.

Additional Information

Many Mathematics VIs are available only in the LabVIEW Full and Professional Development Systems. If you have the LabVIEW Base Development System, you do not have the full set of the Mathematics VIs. A subset of the Mathematics VIs is available in the LabVIEW Base Development System.