Archived:Error -63101 When Deploy Startup Script

Updated Sep 29, 2023

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Software

  • C/C++ Development Tools
  • LabVIEW

Operating System

  • LabVIEW Real-Time (NI Linux Real-Time)

Issue Details

For New Projects, a Modernized Toolchain Is Advised Instead

This article explains how to use Eclipse C/C++ Development Tools for NI Linux Real-Time to achieve cross-compiling tasks. This toolset is not actively maintained anymore. It was last updated in 2018 and is currently not advised to be used for new projects.

Instead, NI created extensive documentation for a modernized toolchain, which is easier to learn and utilize. That documentation also provides information on typical steps, like building, deploying, and debugging a shared library. If you are planning to do C/C++ development and are searching for the right toolchain, then visit Getting Started with C/C++ Development for NI Linux Real-Time.
 

Overview of the Following Eclipse-Based Content

I have a C++ application developed with NI Eclipse and need to deploy the FPGA lvbit file to the sbRIO board during application startup. I have created a start up script to auto run the application, after the sbRIO board power up the lvbit file was not downloaded successfully and causes error below :

Error -63101 NiFpga_Status_BitfileReadError

Solution

This error is probably because of missing FPGA resource. The ‘Generated .h File’ is created from FPGA Interface C API tool by defaults. The bitfile was referred not to an absolute path, but to a relative one. If we make a C/C++ application for general purposes such as deploying or debugging, it needs not to refer to a bitfile with an absolute path, however if we want to make a startup application on Linux system, it is a prerequisite.

Thus, you should modify the ‘Generated .h File’ as seen on the example below to refer to an absolute path.

2021-10-29_14h43_01.png
 

Additional Information

Here are more information about the tutorial to deploy a startup application using NI Eclipse.