xPC Target |
|
Asynchronous Interrupt Examples
xPC Target provides several example models. If you installed MATLAB in the default location, these models are located in
To access any of these models, in the MATLAB command window, type the name of the model. Each model contain annotations documenting its purpose, and should serve as an example of how to use these blocks.
- xpcasyncbuffer -- Model using an external TTL signal to trigger and interrupt on the PCI-CTR05 board. Data exchange between an asynchronous task and a monotonic task using Async Buffer Read/Write blocks.
- xpcasynctrans -- Model using an external TTL signal to trigger and interrupt. on the PCI-CTR05 board. Data exchange between and asynchronous task and a rate monotonic task using a Async Rate Transition block.
- xpccanintpc104 -- Model using interrupt driven CAN I/O communication with the CAN-AC2-104 board.
- xpccanintpci -- Model using interrupt driven CAN I/O communication with the CAN-AC2-PCI board.
 | Async Buffer Write and Read Blocks | |