Error 2147220616 (0x80040378) When Deploying LabVIEW Real-Time

Updated Dec 28, 2023

Reported In

Hardware

  • CompactRIO Controller
  • PXI Controller

Software

  • LabVIEW 2018 SP1

Driver

  • System Configuration

Issue Details

I try to install LabVIEW RT to my Real-Time controller from NI-Measurement and Automation Explorer (MAX) and it pops up with an message stating:
unexpected error occurred: -2147220616 (0x80040378)
 

or 
The NI System Configuration API is not installed at the specified target
 
 

Solution

This error code typically indicates the NI System Configuration API is not installed on the specified target or is in a bad state. To solve this issue you can try:
  • Make sure to install LabVIEW patches over existing LabVIEW that can be downloaded from our website.
  • Format the controller, open NI-MAX, select your controller and from the right-click menu select Format disk.
  • Sometimes for a PXI controller, you might need to upgrade PXI Platform Services to 19.1 .
  • There may be an issue with DAQmx driver, try updating to the latest version that is still compatible with both your current software stack and your hardware.
  • Try updating NI-MAX if this error appears when trying to add/remove software in general to RT target by upgrading the System Configuration .
If the previous steps don't solve the issue, perform a software reinstallation following the indications provided in Uninstall or Repair NI Software or Drivers in Windows or Uninstall NI Software or Drivers Using NI Package Manager.

Additional Information

If this error occurred when installing software to a Real-Time target, most probably there is an issue with the host PC itself. You can verify this by connecting the Real-time target to a different host. If software reinstallation does not solve the error, you might need to reformat the host PC.