Target Computer Command-Line Interface
You can load, run, stop, and check the status of a real-time application by using the Speedgoat® target computer command-line interface commands.
By default, the target computer displays the session 1 screen with the target computer status monitor. For information about switching to the session 2 screen with the command-line interface, see Target Computer Status Monitor.
To read the target computer console log, view the log in the
slrtLogViewer
.
Target Computer Command-Line Commands
When you are using the target computer command-line interface, you can load, start, stop, and check the status of the real-time application. For a description of how to use these commands, see Control Real-Time Application at Target Computer Command Line.
Note
To run user commands, log in to the target computer as user
slrt
by using password slrt
. To run
the system commands, login as user root
by using password
root
.
These commands that you can use through the command-line interface on the target
computer correspond to Target
object commands that you can run on the development
computer.
Target Computer Command-Line Commands Via SSH
You can run system commands on the target computer from the development computer by using an SSH utility, such as PuTTY. Or, you can run system commands on the target computer from its keyboard (console).
System command information is available in the Utilities Reference in the QNX Momentics IDE 7.1 User’s Guide. All commands that this reference identifies as Runs on: QNX Neutrino are supported on the target computer.
Note
To run user commands, log in as user slrt
by using password
slrt
. To run the system commands, login as user
root
by using password root
.
Boot the target computer.
Boot the development computer that is connected by Ethernet to the target computer.
Start the SSH utility on the development computer. This example uses PuTTY.
Load the PuTTY configuration that opens a SSH session to the target computer and click Open.
To execute target computer command-line commands (such as
slrealtime install
), log in to the PuTTY session as userslrt
with passwordslrt
.Install the real-time application
slrt_ex_osc
(which was previously copied to the target computer) by using this target computer command line:slrealtime install --AppName slrt_ex_osc
See Also
Targets
| slrealtime
listApplications
| slrealtime
load
| slrealtime
start
| slrealtime
stop
| slrealtime
install
| slrealtime
saveParamSet
| slrealtime
loadParamSet
| shutdown
Topics
- Control Real-Time Application at Target Computer Command Line
- Execute Target Computer Command-Line Commands Via SSH