NI Vision Eclipse Development Tools

Running a C/C++ Executable on an NI Linux Real-Time Target

  • Updated2023-02-21
  • 2 minute(s) read

After adding the remote target to a project, take the following steps to create a Run Configuration to run the executable on the remote target:

  1. Select Run»Run Configurations to open the Run Configurations dialog box.
  2. Select C/C++ Remote Application in the left pane.
  3. Click the New launch configuration button to specify the settings of the executable on the remote target.
  4. Select the target from the Connection pull-down menu.
  5. Click the Browse button beside the Remote Absolute File Path for C/C++ Application text box to open the Select Remote C/C++ Application File dialog box.
  6. Right-click on My Home directory in the listbox, select New»Folder to create a folder for the executable on the target.
  7. Enter a name for the folder in the New folder name text box.
  8. Click OK to return to the Run Configurations dialog box.
  9. Append the executable name to the file path populated in the Remote Absolute File Path for C/C++ Applications text box.
    Note Note  The Remote Absolute File Path for C/C++ Applications text box specifies the file path, including the executable name, on the target where the compiler copies the executable.
  10. The program execution is displayed in the Console tab.

After running an executable on an NI Linux Real-Time target, you can begin debugging a C/C++ project.