MATLAB XPC TARGET 4 - API GUIDE Guide de l'utilisateur Page 187

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 372
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 186
Polling Mode
10-7
1 In the Simulink window, and from the Tools menu, point to Real-Time
Workshop
, and then click Options.
The Configuration Parameters dialog box opens.
2 In the left pane, click the Real-Time Workshop node.
3 In the TLC options edit field, specify the option
-axpcCPUClockPoll=CPUClockRateMHz
The assignment of the clock rate of the target PC’s CPU is necessary because
the Pentium’s on-chip counter used for polling mode counts up with the CPU
clock rate. If the clock rate is provided, the kernel can convert clock ticks to
seconds and vice versa. If an incorrect clock rate is provided, the target
application executes at an incorrect base sample time. You can find out
about the CPU clock rate of the target PC by rebooting the target PC and
checking the screen output during BIOS execution time. The BIOS usually
Vue de la page 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 371 372

Commentaires sur ces manuels

Pas de commentaire