Install IPK Files Manually to NI Linux Real-Time Target

Updated Jul 20, 2023

Environment

Hardware

  • PXI Controller

Operating System

  • Linux

How can I install IPK files manually to my Linux Real-Time (RT) target?

For this tutorial, the two files below are used as examples:
  • astronics-ballard-btipci_2.11.0.1_core2-64.ipk (This is a dependency file of the next IPK file)
  • astronics-ballard-labview_1.4.0.7_core2-64.ipk

Follow the steps below to manually install the IPK files to your NI Linux RT Target.
1. Use WebDAV to copy the IPK files into the Linux RT drive.
Install IPK Files Manually to NI Linux Real-Time Target 1.png
2. Use SSH (PuTTY) to execute the SSH command to install the IPK files.
a. To ensure that we can run logging in PuTTY, run PuTTY as administrator.
Install IPK Files Manually to NI Linux Real-Time Target 2.jpg
b. Go to Logging and enable logging by selecting All Session Output.
Install IPK Files Manually to NI Linux Real-Time Target 3.png
c. Go to Session and press Open after entering the IP address of your Linux RT.
Install IPK Files Manually to NI Linux Real-Time Target 4.png
d. Run the command below to get the current directory of the copied IPK files in the Linux RT’s drive.
cd /tmp
Install IPK Files Manually to NI Linux Real-Time Target cd.png
e. Run the command below to start installing the first IPK.
opkg install astronics-ballard-btipci_2.11.0.1_core2-64.ipk
Install IPK Files Manually to NI Linux Real-Time Target 9.png
f. Run the command below to start installing the second IPK.
opkg install astronics-ballard-labview_1.4.0.7_core2-64.ipk
Install IPK Files Manually to NI Linux Real-Time Target 5.png
g. Reboot the Linux RT to refresh the new installation.
reboot
Install IPK Files Manually to NI Linux Real-Time Target 7.png
h. Confirm the installation has been completed in SSH.
opkg find *astro*
Install IPK Files Manually to NI Linux Real-Time Target 8.png
3. Confirm that the installation has been completed in NI MAX. The installed software should appear in the target's Software section.
Install IPK Files Manually to NI Linux Real-Time Target.png