LabVIEW Is Not Loading As Expected

Updated Jan 29, 2024

Reported In

Software

  • LabVIEW
  • NI License Manager

Operating System

  • Windows

Issue Details

When I try to open LabVIEW I see one or more of the following issues. How can I resolve them?

  • When I click the shortcut on my desktop or the start menu, nothing happens. If I navigate to the path where I installed the software, I see it is there, but nothing comes up when I double-click the executable LabVIEW.exe file.
  • When I open LabVIEW, the product activation window appears briefly, but LabVIEW either crashes or hangs without actually opening.
  • I may see the LabVIEW splash screen appear briefly but cannot interact with it.

Solution

This behavior may be due to your computer being unable to load the files required to open LabVIEW properly. This is typically caused by a lack of Windows user permissions or files that have been corrupted or moved from their default location. The issue can also be caused by the firewall blocking a port that LabVIEW or Volume License Manager needs to communicate over or even an antivirus blocking the execution of the application. Steps to resolve these issues can be seen below, organized by the potential causes for this issue.

Lack of Windows User Permissions

If this is the first time LabVIEW has been installed on this computer, then the issue is most likely due to a lack of Windows user permissions. See the steps below to diagnose and fix problems with your user permissions.

  1. Right-click on LabVIEW.exe and select Run as Administrator.
    • The default file path for LabVIEW.exe (32-bit) is C:\Program Files (x86)\National Instruments\[LabVIEW Version]\LabVIEW.exe
    • The default file path for LabVIEW.exe (64-bit) is C:\Program Files\National Instruments\[LabVIEW Version]\LabVIEW.exe
    • You may need an administrator to enter their credentials to run the program as an administrator
  2. If LabVIEW loads properly when it is run as an administrator, then the root of the issue is lack of proper permissions on files contained in the National Instruments program file directory. Please work with your IT department to configure your account with the proper permissions to use LabVIEW.
    • If using a 32-bit version of LabVIEW, the default path for the relevant National Instrument Program Files folder is C:\Program Files (x86)\National Instruments
    • If using a 64-bit version of LabVIEW, the default path for the relevant National Instrument Program Files folder is C:\Program Files\National Instruments
  3. If LabVIEW still does not load, evaluate the other potential causes listed in the following sections. 

 

Corrupted or Moved Files

  • If your software was installed using a DVD, USB, or downloading media from the NI's website:
  1.     Try repairing the software installation:
    1.     For LabVIEW versions 2016 and earlier, follow the steps mentioned in repair through the Control Panel
    2.     For LabVIEW versions 2017 and newer, follow the steps mentioned in the article Repair Software in NI Package Manager .
  2.     Try force reinstalling the software, as described in the article Force Reinstall Non-Working or Corrupt NI Software
  3.     Try uninstalling and reinstalling the software.
  • If your software was installed using NI Package Manager:
  1.     Uninstall the package through the NI Package Manager
  2.     Download a clean version of the package through the NI Package Manager and install it on your system.
  3.      If the problem is still present after reinstalling the software,
    1. Uninstall LabVIEW again from the NI Package Manager.
    2. Then, delete the C:\Program Files (x86)\National Instruments\LabVIEW 20XX folder (32-bit) or the C:\Program Files\National Instruments\LabVIEW 20XX folder (64-bit), depending on the bitness of your LabVIEW version. Make sure to backup any user library that you're using (user.lib folder), or any instrument driver under the instr.lib folder
    3. Install the software again using the NI Package Manager.
  • If, while the software is attempting to load, you see the splash screen for product activation appear, something may have gone wrong with your activation. Try the steps below to correct your activation status.
  1.    Make sure that your NI License Manager is installed correctly and not corrupted. You can verify this by opening the NI License Manager Application.
  2.     Deactivate your software through the NI License Manager   
  3.     Use one of these methods mentioned in the article Activating NI Software with a Single-Seat License
  4.     Try the steps listed above for resolving corrupted or missing files

 

Firewall Blocking a Port

If nothing happens when you launch LabVIEW, the firewall might be blocking a port that LabVIEW or Volume License Manager needs to communicate over. If the issue has recently started occurring, check whether you still have an active license.
Follow the next steps to enable dropped packets logging and check what connections are being blocked by your firewall:

  1. Navigate to Control Panel >> System and Security >> Administrative Tools >> Windows Defender Firewall with Advanced Security.
  2. From the Action pane, select properties.
  3. Select the appropriate firewall profile (Domain, Private or Public). You can also enable logging in all the profiles.
  4. On the logging section, click Customize.
  5. Select the location where you want to save the logs and change the Log dropped packets option to yes.
  6. Click OK to enable logging.
  7. Try to open LabVIEW and then open the log file and check for any blocked ports. Pay special attention to ports used by NI products.
If you spot any blocked port in the log file after trying to open LabVIEW, follow the next instructions to allow it:
  1. In Windows Defender Firewall with Advanced Security select Inbound Rules in the left pane.
  2. Click new rule.
  3. On the Rule Type page, select port and click next.
  4. On the Protocol and Ports page, select the protocol type and the specific local port you want to allow.
  5. On the Action page, select Allow the connection and then click next.
  6. On the Profile page, select the profiles to which this rule applies and click next.
  7. On the Name page, you can write a name and description for your rule.
  8. Click Finish to apply the rule.

You might not have enough permissions to allow the port. In that case, please work with your IT department to allow it.

Antivirus Blocking the Application

If when you launch LabVIEW it only shows the loading screen briefly and the icon stops showing in the taskbar, the antivirus might be affecting the launch of the application. 

  1. Open the antivirus you have installed and deactivate it.
  2. Try to open LabVIEW. 
  3. If it opens correctly then you will need to whitelist the application. 
  4. On the Settings of the antivirus installed make sure to add the application to the whitelist. The steps to do it may vary depending on the antivirus installed.

You might not have enough permissions to disable the antivirus. In that case, please work with your IT department to allow it.