Creating and Opening Projects

A Project contains all the information needed to automatically execute tests against a SUT and determine whether the SUT conforms to its specification or not.  It can only do this, of course, with a comprehensive suite of TestCases.  The project contains information related to:

Descriptive details about the system being tested

The Signal Dictionary

The location of the Regression Suites, Scenarios and TestCases, and which tests to run

What Virtual Wiring Harness to use

How to connect to the SUT.  What settings and parameters to use.

Traceability information

What should be logged during test execution

This information is stored in the project file. The project file has an extension .mxp and is located in the project folder.

Creating a New Project

In the MxVDev test environment, you create a new project by selecting File‑>New‑>Project from the main menu.  You are presented with a few wizard steps, as follows:

1.Basic Project Info - Optionally enter the company name, project name, and description for the project.  These assist in tracking and are used in reports.

2.Project Location - If you already have a folder where you wish to store the test files for this project, select the "Use an existing Folder" option. Otherwise, select "Create a new folder" and enter a folder name. This is known as the project folder.

3.Enter a name for the project file.  The file that stores the Project settings will have this name and will be created with .mxp as its extension.

4.Select the SUT type.

 

SelectSUT

SIL

Choose SIL for a project using the MxVMC and Visual Studio.

If desired, check Include a Sample Application.

MIL

Select MIL for a Simulink with a S-Function Connector project. Click 3dots_button to browse to the Simulink model (.mdl) file.

Custom

If you choose Custom SUT your project setup is complete.  Before you can run any tests you need to construct the Harness manually using MxTransIt, and reference the Harness from the Project.  A Custom Harness gives you the most flexibility in establishing the connectivity between MxVDev and the SUT(s), but there are a few more steps to complete in building the harness. See Getting Started with MxTransIt.

Select the clock to use when running your test: MxClock or RTClock. See Real Time/Accelerated Time. You can change this setting later using Project Settings.

Custom Harnesses are useful for the following:

A simple HIL test using just CAN or LIN transceivers

Simulink model testing using the Workspace connector

Advanced HIL tests for NI, dSPACE and others

Any project with more than one MxVMC

Co-simulation or multi-SUT

Custom connector transforms

A closed-loop test or bus entirely within the Harness (MxTransIt)

No SUT

You can select the No SUT option if you are ready to create tests, but there is no SUT at this time. You can change the project to one of the other options later by selecting Project->SUT Connector Settings from the main menu.

Opening an Existing Project

From the main menu, select File‑>Open‑>Project.  Locate and select the desired MxVDev project file.  It has a .mxp extension.

The information that you provided when you created a  project can be updated at any time.  From the main menu, select Project‑>Settings.

When MxVDev opens a project, it loads any Transforms referenced by the .mxform file. The Transform files must be located in one of the locations listed in the User Options–Additional File Locations.

 

Video Demonstration: Creating a Project

 

Related Topics:

Project

Project Settings

Getting Started with MxVDev

Viewing Demonstrations