Most CAPL scripts can be used with the MxSuite with only minor modifications. Because CAPL is very similar to C, you can copy CAPL code into a SIL Easy Transform, an MxVMC, a Custom Transform, or in a very simple case, into a C# Snippet Transform.

The script logic should be the same. The method for creating Transitions varies depending on the Transform:


When using an MxVMC, instead of calling the CAPL API, create a transition on a port using the MxVMC µC Library CAN Sub-System. For a simple example, see the CAN.c file in SUT/App folder of the Turn Door Sample Project.

SIL Easy, Custom Transform, or C# Snippet

These Transforms connect to a CAN bus using the CAN Transmit and Receive Driver Transforms as shown in this example. Set the value of the Transition in the Transform and transmit it to the bus as described in Putting a Signal on a CAN Bus.

Related Topics:

SIL Easy

MxVMC - The Virtual MicroController

Custom Transform Development

C# Snippet Transform

CAN Receive Driver

CAN Transmit Driver

CAN Overview