Table of Contents
NI Package Manager
FAQs
Error during installation of packages
Invalid checksum for package <path>\somepackagename.nipkg Please check your internet connection and try again.
-
Close NI Package Manager
-
Go to
C:\ProgramData\National Instruments\NI Package Manager\Downloads\
-
Double-click on
ni-labview-ng-1.0-released.nipkg
and install the package -
Double-click on
ni-labview-ng-1.0-released-critical.nipkg
and install the package -
Restart NI Package Manager and try installing the package again
Restore space from downloaded packages
The NI Package Manager stores all downloaded packages (*.nipkg) under C:\ProgramData\National Instruments\NI Package Manager\packages
. Usually, these files are no longer needed by LabVIEW and can be removed to get used drive space back.
See also: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019KdtSAE&l=de-DE
Store SystemLink Credentials in .lvproj
By default, LabVIEW does not store user credentials for SystemLink Feeds inside the LabVIEW project file. You can modify the .xml source of the .lvproj file manually to store the credentials persistently. Add the following entries to the corresponding build spec of your LabVIEW project:
<Property Name="PKG_password" Type="Str">####</Property> <Property Name="PKG_username" Type="Str">####</Property>
Beware that even only opening and looking at the build spec in the LabVIEW IDE will remove those manual entries!
Debugging
Errors
Courtesy Neil Pate
Errors are logged to: C:\Users\<User>\AppData\Local\National Instruments\NI Package Manager\Logs
Under the hood the packages are MSI files, to get more detailed logging information run this command:
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" config-set nipkg.plugin.wininst.msilogs-enabled=true
Additional information is available inside here:
Command Line Interface
You can use Package Manager's command line interface (CLI) to silently install and remove NI software, build and manage packages, and view the current state of your system.
To invoke the CLI, navigate to C:\Program Files\National Instruments\NI Package Manager
from the Command Prompt and then enter nipkg
. The built-in help for the CLI is displayed.
You can access help for the CLI at any time by typing nipkg help
. For help on a specific command, type nipkg help command
.
Downloading a Package with Dependencies
It can be necessary to provide a package for offline installation. In this case, it's important to also provide all dependencies to the package, too. With the following command, a specific package with all needed dependencies can be downloaded.
>> nipkg download --all-deps PKG-NAME
–destination-dir=<DIR>
to specify another destination.
To find the correct internal name of a package, you can use the Package Manager GUI. Find the package in the list of installed packages and point to the row with the searched package. The context help will display the internal package name. E.g. ni-labview-2020-runtime-engine-x68
for the LabVIEW 2020 (32-bit) Runtime, see image below.