This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error -2147467259 When Imaging a Linux-Based Real-Time Target

Updated Jul 26, 2023

Reported In

Hardware

  • CompactRIO Chassis
  • myRIO Student Embedded Device
  • CompactRIO Controller

Driver

  • NI-RIO

Issue Details

I am trying to use the System Configuration API (or the Replication and Deployment (RAD) Utility) to clone my RIO system. After successfully using Create System Image.vi, I'm seeing the following error when running Set System Image.vi to download it to the new RIO: 

Error -2147467259 occurred at nisyscfg. lvlib:Set Image (Folder). vi:2060001
NI System Configuration: (Hex 0x80004005) Miscellaneous operation failure.

 

 
Why is this error thrown and how do I resolve it?

Solution

This error can be caused by following:

1. This error occurs in NI-RIO 13.0 when a Linux-based target (e.g., cRIO-9068, myRIO-1950, or myRIO-1900) is already in safe mode when Set System Image. vi starts to run. To work around this issue, reboot the target into run mode and run the VI again. NI-RIO 13.1.1 resolves this issue with the 1.0.1f0 firmware revision. Please upgrade the NI-RIO 13.1.1 to resolve this issue.

2. This error can also occur in later versions of NI-RIO if you have changed your default web configuration port away from port 80. Ensure the following ports are open before performing an image: 21, 80, 3580, 44516, 44515, 44525 and 5353

3. This error can also occur if there is not enough disk space available on the target. To verify the available disk space open NI MAX and select your NI Real Time target under Remote Systems.
To check the Primary Disk Free Space in the System Settings tab. To free up some disk space right click on the target and select Format Disk. 


Note: When creating a target image it requires that as least half of the free disk space is available e.g. IC-3173RT unit with 32GB. 16GB free disk space is required to create a target image.
The image gets created locally on the Linux RT target before it gets sent to the host pc.



4. You can get this error if the original image was manually modified (i.e adding a text file) from a Windows PC using tools as WinRAR, 7-ZIP, etc:

image005.png
If you need to modify these files, consider using a Linux OS PC. 

 

Additional Information

National Instruments has developed a new version of the firmware that enables downloading images to Linux-based targets that are already in safe mode. Complete the following steps to fix this issue:

1. Open Measurement & Automation Explorer (MAX) and select your target from the Remote Systems list.
2. Navigate to the System Settings tab and select Update Firmware.
 

3. Browse to the .cfg file found in <Program Files (x86)>\National Instruments\Shared\Firmware\cRIO. See below table to find the corresponding firmware revision. Once you have selected the correct .cfg file, select Begin Update. The device will restart when the firmware is updated.
 
Folder NameDevice
76D3myRIO-1950
76D6cRIO-9068
762FmyRIO-1900