This model shows asynchronous message-based event support using interrupt driven CAN I/O communication with the Softing CAN-AC2-PCI board.
Important: This model uses standard data types for message storage. Use CAN_MESSAGE data types instead.
For this example, the CAN network consists of a single physical connection between CAN port 1 and CAN port 2 (loop-back configuration). To test this model:
Install the CAN-AC2-PCI board in the target computer.
Use a serial 9-pin/9-pin cable (directly wired) to connect CAN port 1 and CAN port 2.
Set the switches on the board's backplane to terminate both ports.
Boot the target computer as an xPC Target™ machine.
At the MATLAB command prompt, type xpccanintpcidemo to download and run the model on the target computer.
Model for PC/104 Systems