Error -2147220622 When Using the RAD Utility

Updated Mar 27, 2023

Reported In

Hardware

  • cRIO-9030

Software

  • LabVIEW Real-Time Module
  • Replication and Deployment Utility

Issue Details

I am getting the following error when I attempt to deploy an image to an RT system from the Replication and Deployment Utility (RAD).

Error -2147220622 at nisyscfg.lvlib:Initialize (Helper).vi:3930001

Why am I getting this error and what can I do to resolve it?

Solution

  • This error can happen if some of the information of the target that the utility is deploying to is incorrect.  It has been specifically seen when there is an error with the specified serial number, make sure that the serial number matches the one found on your RT Target.
  • Password is required to switch RIO controller to and from safe mode. There is no issue to switch a formatted RIO controller to safe mode for reimaging as the default empty password would be used. However, when an image with password is deployed to the RIO controller, switching back to running mode will fail. That is the reason why you are seeing the error and rtexe did not start running.

In conclusion, the deployment of an image with password to a RIO controller without password can be successful, even if error -2147220622 is reported.

You just have to reboot the controller manually (via NI MAX or power cycle) for the startup rtexe to run, provided that the Force Safe Mode, Disable RT Startup App and Disable FPGA Startup App are not enabled as shown in the figure below.