Running and Stopping Real-Time Processes
In this section, we describe a few methods and tools you can use to start and stop Real-Time (RTSS) processes, including:
- RTX64 Task Manager - Task Manager allows you to view, start, or end any active RTSS process or Windows process linked to RTX64 on your system, whether started by Task Manager or with the RtssRun command line utility. Windows processes linked to RTX64 are un-managed processes that make calls to the Real-time Interface (RTAPI) or managed processes that use the IntervalZero.RTX64 interface to communicate with RTSS processes.
- RtssRun - RtssRun can be used to run an RTSS application from a Windows command prompt.
- RtssKill - You can use the RtssKill utility to forcibly terminate a particular RTSS process.
Running RTSS Processes
You can run RTSS processes using one of these methods:
- Double-clicking on the binary in Windows Explorer
- Starting a task from the RTX64 Task Manager
- Using RtssRun from a command prompt on your target system
The following instructions are only for using RtssRun from a command prompt. For more information on starting and stopping a task from the RTX64 Task Manager, see Task Manager.
starting a task with RtssRun:
- Open a Command Prompt
- Type RtssRun, and then type the full path to the RTSS binary. For example, to run the SRTM binary provided with RTX64:
RtssRun “C:\Program Files\IntervalZero\RTX64\bin\srtm.rtss”
- If RtssRun is successful, a tone will begin and the RTX Server console will open and display text. Upon completion, the SRTM process prints a summary and histogram of latency results.
For more information on SRTM and other samples, see the RTX64 Program Examples.
Stopping RTSS Processes
If you must terminate a RTSS process, you can stop an RTSS application using RTX64 Task Manager or RtssKill from a command prompt on your target system:
NOTE: You should only kill a process if there is no other way to stop the process gracefully. This is the equivalent of using Task manager to stop a running Windows process.
stopping a task with RtssKill:
- Open a Command Prompt
- Type RtssKill and press return, this will display all running RTSS processes on the system.
EXAMPLE OUTPUT
4 Processors
RTX64 Processors: 2,3
PID NAME SCHEDULED TASK
---- ---- --------------
1005 Srtm
- If you wish to kill a process, find the process ID, and pass that value to RtssKill. For example, if the process ID was 1005 you would type:
rtsskill 1005
related TOPICS: