xPC Target | ![]() ![]() |
Example 5
Now lets consider a different handling of the receive FIFO overflow: If the receive FIFO level reaches the value of 200, the receive FIFO should be reset in order to delete all currently stored events. The application execution has to continue normally. For this, two new driver blocks have to be added to the model which are used to read the receive FIFO level and then reset it accordingly. You can display the model by typing, in the MATLAB command window, either xpccanpcififo5.mdl
or xpccan104fifo5.mdl
.
![]() | Example 4 | Example 6 | ![]() |