To transmit information to the bus, see CAN Transmit Driver.
1.Click in the CAN Database property to display the CAN Bus Configuration form.
2.Use the Add button to select the DBC file associated with the bus.
3.Select one or more nodes to Receive From.
4.Click OK. The Signals used by the selected nodes become outports on the Transform.
5.Use the Transform's Name Property to change the port names to be the same name as the CAN bus. If the bus is configured in MxVDev Network Configuration, enter the same name here.
6.Export the inport.
The standard outports (the first 7 on the right side) are always present. When the Transform receives a CAN message, the contents of the message are parsed and transmitted from the appropriate outport. In the example below, the Arb ID of the message is transmitted from the CAN Network 1·ArbId port.
CAN Receive Driver with Standard Ports
Additional ports are added according to the nodes selected and the associated messages defined in the DBC file.
For an example using the CAN Receive Driver Transform, see Testing CAN Signals.