MATLAB XPC TARGET 4 - DEVICE DRIVERS Spécifications Page 188

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 653
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 187
5 CAN I/O Support for FIFO
5-44
This implementation behaves exactly like the first implementation, but nicely
shows how CAN messages (to be sent out) can be constructed dynamically at
run-time.
Example 4
Now lets look at the situation where the Read depth parameter of the FIFO
Read block in the model above is set to 1 instead of 2 or 3. This leads to a receive
FIFO overflow when the execution time reaches 256 ms. Here, as an example,
the execution should be stopped, if the overflow occurs. This can be easily
achieved by evaluating the lost message counter value leaving the status
output port of the FIFO Read block. You can display the model by typing, in the
MATLAB command window, either xpccanpcififo4.mdl or xpccan104fifo4.mdl.
Vue de la page 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 652 653

Commentaires sur ces manuels

Pas de commentaire