Error -2147220312 When Installing Software With System Configuration VIs

Updated Jun 28, 2023

Reported In

Software

  • LabVIEW

Driver

  • System Configuration

Issue Details


Error -2147220312 occurred at nisyscfg.lvlib:Install and Uninstall Components.vi:1960001

Possible reason(s):
NI System Configuration: The execution of an external command, script, or application failed.

Solution

This error can occur due to incorrect package names, incompatible targets or missing software packages. Follow the steps below to resolve it:
  1. Verify that the package you're trying to install is valid.
    • If installing software on a NI Linux Real-Time target, connect to the target through SSH and verify that the packages are recognised:
      1. Run the command opkg update to ensure that the Linux feeds are up to date. If this fails, see the debugging guide on OPKG update fails.
      2. Execute the command opkg install <package-name> where <package-name> is the package that fails to install through LabVIEW. If the package name is unrecognised, this is the cause of the error in LabVIEW. 
      3. In SSH use command ping download.ni.com to see if the target can see the NI hosted feeds.
      4. Use the NI Linux Real-Time Offline Installation Support for feeds instead of ni.com.
    • If installing software on a Windows target:
      1. On another PC that has the package already installed, launch Package Manager.
      2. On the Installed tab, scroll to find your package.
      3. Hover over the package name to see package name that should be used in LabVIEW.
  2. Ensure that the software is compatible with your target's operating system.
    • Search the NI website for the software you wish to install.
    • On the software's download page, select the version you want, and expand the Supported OS option on the right-hand side.
  3. Refer to the VI documentation to check that your package matches the expected data structure for the VI input.
    • See here for Install Set VI. The package name should be built into a cluster that matches the Software Set input.
    • See here for Install And Uninstall Components VI. The package name should be built into a cluster that matches the Software Components to Install input.