xPC Target | ![]() ![]() |
Setting the Polling Mode
Polling mode is an alternative to the default interrupt mode of the real-time kernel. This means that the kernel on the bootable floppy disk created the xpcsetup
GUI allows running the target application in both modes without the necessity to use another boot floppy disk.
By default the target application executes in interrupt mode. In order to switch to polling mode, you need to pass an option to the System target file command.
For example, if your target PC is a 1.2 GHz AMD Athlon, specify option
If you make a change to the System target file field, you need to rebuild the target application for the change to take effect. Building the target application, downloading it, and preparing it for a run then works exactly the same way as it did with default interrupt mode.
After the download of the target application has succeeded, the target screen displays the mode, and if polling mode is activated, it additionally displays the defined CPU clock rate in MHz. This allows checking for the correct setting.
![]() | Polling Mode | Restrictions Introduced by the Polling Mode | ![]() |