Error -350008 The CLI Failed to Launch LabVIEW

Updated Nov 22, 2023

Reported In

Software

  • NI LabVIEW Command Line Interface

Issue Details

Why I am getting an error when trying to execute LabVIEW CLI from the command prompt and getting Error code : -350008 as shown in the example below:

When executes LabVIEW, the user gets the following error even though I using a licensed version of LabVIEW:

Error code : -350008
Error message : LabVIEW CLI: (Hex 0xFFFAA8C8) The CLI failed to launch LabVIEW. Check that you are using a licensed version of LabVIEW.

An error occurred while running the LabVIEW CLI.

This error is shown in the following dialog box.
A computer screen with white text  Description automatically generated

Solution

To solve this issue you may need go to the path below and search for the LabVIEWCLI ini file (Configuration file):
C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI
image.png
Then, open the configuration setting file and search for the field ValidateLabVIEWLicense. Change the value to False.
image.png
Once done changed the field ValidateLabVIEWLicense, you may need to restart the system and try to execute LabVIEW CLI again, suppose this will solve the issue.