User Tools

Site Tools


kb:labview:tools:vipm

This is an old revision of the document!


Table of Contents

VI Package Manager

VI Package Manager (VIPM) is a community and tool that helps you find, download, create, share, & manage LabVIEW Add-ons.

How to create a new package is described here VIPB Process

Resources

FAQ

Package Cache

The downloaded VI packages can be found at

  <ProgramData>\JKI\VIPM\cache

Custom Actions

You can define VIs to be called during install/uninstall, so-called custom actions. I've tried to copy zip files to C:\ProgramData\Hampel Software Engineering\PPLs instead of installing them into vi.lib and it turned out, that the Post-Install Custom Action is executed before the files were extracted!

Linux

Installation

To prevent the too many files open issue

  $ sudo nano /etc/sysctl.conf
  $ fs.file-max = 2000000
  $ sudo sysctl -p

Restart your system or re-login.

Download the VIPM release for Linux: https://www.vipm.io/desktop/

Create two folders

  $ sudo mkdir -p /usr/local/JKI/VIPM
  $ sudo mkdir /etc/JKI

Change the owner of the folders to your current user, to gain write access (not needed, if sudo is used later)

  $ sudo chown $USER -R /usr/local/JKI/VIPM
  $ sudo chown $USER /etc/JKI

Unzip to the new folder

  $ unzip vipm-22.1.2354-linux.zip -d /usr/local/JKI/VIPM/

Usage

VIPM needs write permission to the LabVIW installation. Because LabVIEW is usually installed under /usr/local/natinst/ the normal user has no write access and VIPM needs to be executed as user “root”. To do this on modern linux systems, it is remommended to use the command sudo or pkexec. Examples

  $ sudo /usr/local/JKI/VIPM/vipm

If this command returns an error “Unable to open x display”, it is necessary to provide the environment variables to access the x display.

  $ pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/local/JKI/VIPM/vipm

To start vipm with sudo vipm, you can create a symbolic link with this command

  $ sudo ln -s /usr/local/JKI/VIPM/vipm /usr/bin/vipm

Alternative: Change the owner of the LabVIEW folder to your current user, to gain write access and don't need sudo.

  $ sudo chown $USER -R /usr/local/natinst/
kb/labview/tools/vipm.1696841400.txt.gz · Last modified: 2023/10/09 08:50 by matthias.mueller