This tutorial covers the process for installing software on an offline NI Linux Real-Time target using the NI Linux Real-Time Offline Installation Support bundle.The offline support bundle contains a package repository of all the packages located on the NI website feed specific to the user-specified release version. The software package repository installer and offline installation support allows the installation of software packages on Linux Real-Time targets when the target and host PC are in a secure environment that cannot access NI website.The offline support bundle contains all packages available on NI website and uses Linux’s package-based system to install software to the target. The support files allow the host PC to act as a server from which the target retrieves its packages.
Note: If using an offline host PC to connect to the offline target, please also refer to Installing an NI Product Package on an Offline Machine.
Install the latest version of NI Package Manager (PM) on the host PC.
Search for and install System Configuration and NI Linux Real-Time Offline Installation Support.
After the package repository and offline installation support successfully installs to the host PC, close the success dialog.
If third-party drivers are being used, follow these steps to download and install the files to the host PC. Since the target cannot access the internet to fetch the packages, the third-party drivers feed content must be installed in a location on the host PC that NI Measurement and Automation Explorer (MAX) uses to serve the packages to the target. If third-party drivers are not being used, skip to the next section.
Open http://download.ni.com/ni-linux-rt/feeds/2020/ni-third-party in a browser.
Download all the files on the feed and install them in a new folder inside C:\Program Files\National Instruments\RT Feeds\20.0.0\.
For example, C:\Program Files\National Instruments\RT Feeds\20.0.0\3rd-party-driver-feed.
Note: Some web browsers add a .txt extension to files that have no extensions. Make sure the copied file names match the names on the feed, especially the extension-less "Packages” file.
Figure 1 Example of a Third-Party Driver feed
Launch NI MAX.
Expand Remote Systems and navigate to the desired target.
Expand the target. Right click and select Add/Remove Software.
Figure 2. Add/Remove Software option to click
If using a new/formatted device, select the Base System Image to be used on the target. The available versions can be accessed by right-clicking the gear icon on the right-hand side. Once the selection has been made, click OK. Figure 3: Accessing Base System Image versions. A base system image contains the operating system and components to manage NI software through feeds located on NI website or a user-specified location.
Note: The most recent base system image is selected by default. In case there is no requirement of a base system image to manage the software on the target, it is possible to install software set from the Legacy Installation section.
Figure 4. Most recent Base System Image selected
It may be required to format the target after the selection of a new base system image. If formatting is required, click Format when prompted.
Once formatted, select the programming environment to use on the target and click Next.
Figure 5. Programming Environment selection
Select Allow the target to retrieve packages from feeds hosted on this computer and click OK. It might be necessary to select another port if the preselected port is unavailable.
Note: The look of the page will be different if the host PC is online or offline. See Figures 5 and 6 to see the difference.
Figure 6. Online Host PC – Retrieve Packages
Figure 7. Offline Host PC – Retrieve Packages
Click Yes to allow the NI RT Feed Server to open a port in the firewall.
Choose the packages to be installed on the target and click Review changes. Packages are preselected based on the target's base system image and programming environment.
Figure 8. Choosing packages to install
Review the packages that have been selected for installation and click Continue to retrieve the packages from the host PC and install them onto the target.
Figure 9. Review packages that will be installed
After installation is complete, click Close to dismiss the success dialog.
Figure 10. Success screen after installation on target
The installed packages now appear in the target's Software section.
Figure 11. Confirmation of software installed on target
Software Support for CompactRIO, CompactDAQ, Single-Board RIO, R Series, and EtherCAT
NI Linux Real-Time Operating System PXI Hardware Support
Real-Time Controllers and Real-Time Operating System Compatibility
Installing Software on NI Linux Real-Time PXI Controller
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.