User Tools

Site Tools


kb:labview:tools:nipm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kb:labview:tools:nipm [2023/02/15 11:02] joerg.hampelkb:labview:tools:nipm [2023/11/22 12:08] (current) joerg.hampel
Line 10: Line 10:
 </WRAP> </WRAP>
  
-===== Error during installation of packages =====+===== FAQs ===== 
 + 
 +==== Error during installation of packages ====
  
     Invalid checksum for package <path>\somepackagename.nipkg     Invalid checksum for package <path>\somepackagename.nipkg
Line 22: Line 24:
   - Double-click on ''ni-labview-ng-1.0-released-critical.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   - 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:
 +
 +{{:kb:labview:tools:wininstmsi.png?600|}}
 +
 +
  
 ----  ---- 
Line 63: Line 102:
 {{:kb:labview:labview_package_builder.png?direct&600|}} {{:kb:labview:labview_package_builder.png?direct&600|}}
  
- 
-===== 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 
  
kb/labview/tools/nipm.1676458974.txt.gz · Last modified: 2023/02/15 11:02 by joerg.hampel