User`s guide

12 Execution Modes
Introducing Execution Modes
Introduction
Interrupt mode is the default real-time execution mode for the xPC Target
kernel. In certain conditions, you might want to change the real-time
execution mode to polling mode. A good understanding of interrupt and
polling modes w ill help you to use them effectively, and to decide under which
circumstances it makes sense for you to switch to the polling mode.
A third e xec ution mode, free run, is also available. In this mode, the target
application thread does not wait for the timer and the kernel runs the
application as fast as possible. The time betw ee n each execution might vary if
there is any conditional code in the target application. The three execution
modes are mutually exclusive. For a des cription of how to use the freerun
mode, see “Entering the Real-T ime Wo rks ho p Parameters” in the xPC Target
Getting Started Guide.
12-2