Determining Where to Run a Task in a Real-Time System
- Updated2023-02-17
- 3 minute(s) read
Determining Where to Run a Task in a Real-Time System
A task is a sequence of operations, typically contained within a loop, that collectively accomplish a high-level goal, such as data logging or controlling a hardware device. In a real-time system, you can choose to run a task on one of a few different targets. However, where you run the task depends on the timing, performance, and reliability requirements for your application.
| Target | Considerations | Example Tasks |
|---|---|---|
| FPGA |
|
|
| Real-time controller |
|
|
| PC |
|
|
Examples
The following image illustrates tasks you might run on each target in a control and monitoring system.

Related Information
- Designing a Real-Time Application
- Parts of a Real-Time Development Setup
A real-time system includes hardware and software components that enable precise control over the execution of your code. You use a PC to develop code for a real-time system.
- Introduction to Real-Time Operating Systems
A real-time operating system (RTOS) enables a real-time system to run applications that require precise timing or high reliability. Rather than distributing processor resources evenly between running tasks, an RTOS can guarantee precise timing and high reliability because it manages the execution of tasks based on the priority assigned to each task.
- Determinism and Jitter in a Real-Time System
Determinism is the characteristic that describes how consistently a system executes tasks within a time constraint.
- Separating Tasks to Optimize a Real-Time Application
Task separation involves running distinct tasks in parallel loops to create an application.