This project is a comprehensive example of a SIL test environment for a body control module. It can be used to understand the basic features of the MxSuite.

There are two versions of the TurnDoor sample:

TurnDoorSampleAutoTick - In the AutoTick project, the tick rate for the SUT is determined by an MxVSetTaskAutoTickPeriod function in the appif_register.h file. See: Port Registration.

TurnDoorSample - In this project, the main entry point of TurnDoor is void AppTask_5ms(void). This is located in App.c. The Task_5ms Signal in the TestCase of the same name invokes (ticks) the App_Task_5ms function every 5ms of simulated time.

AutoTick is the preferred method.

hmtoggle_plus1Requirements
hmtoggle_plus1Download
hmtoggle_plus1Description
hmtoggle_plus1Running the Project
hmtoggle_plus1Understanding the Code

 

 

Related Topics:

Getting Started with the Invert Sample (a simple VMC)

Sample Projects

MxVMC - The Virtual MicroController