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:
- Select Run»Run Configurations to open the Run Configurations dialog box.
- Select C/C++ Remote Application in the left pane.
- Click the New launch configuration button to specify the settings of the executable on the remote target.

- Select the target from the Connection pull-down menu.
- 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.
- Right-click on My Home directory in the listbox, select New»Folder to create a folder for the executable on the target.
- Enter a name for the folder in the New folder name text box.
- Click OK to return to the Run Configurations dialog box.
- Append the executable name to the file path populated in the Remote Absolute File Path for C/C++ Applications text box.

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. - 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.