How the Signal Range (Min and Max) Properties are Used

In MxVDev, the most useful definition of the Min and Max range for a Signal is the range of values that a tester may want to use during their testing. This includes normal values, but may also include abnormal values. If you import Signal Dictionary information from external sources, the definition of the min/max range may be just the normal operating range for a Signal. The MxSuite tool works well in either case.

Stimulus Signals - When setting up Min/Max ranges in the Test Harness (such as for the MxVMC), set the ranges to encompass all values - both normal and abnormal. This will prevent having to adjust ranges at a later time.

Response Signals - By default, during the Pass/Fail analysis, out-of-range transitions are classified as a failure. This behavior is optional and can be deselected under Project Settings.

Min and Max properties of array Signals apply to all elements of the array.

The MxSuite detects values outside the min/max range while editing and executing tests. The tool's behavior is described in the two sections below:

Editing Tests

The MxVDev GUI is optimized for selecting, entering, and displaying values that are in range. It does this by:

Showing you the Min and Max when you are editing transitions.

Setting the default scale of Signal graphs between the Min and Max.

Warning you if you enter values that are outside the specified min/max range. If you define a transition on a Signal that is outside the Min/Max range a warning notification is generated. No further out-of-range warnings are generated for that Signal during the editing cycle (until the TestCase is saved or closed).  

Transform Ports

Many Transforms in the Test Harness cannot accept out-of-range values. For example:

A Boolean (true/false) Signal can only accept a value of zero or one.

In SIL testing, you cannot assign a value greater than 255 to an unsigned 8-bit integer.

In HIL testing, you cannot request a supply voltage of 15 Volts from a 12-Volt supply.

By default, an out-of-range error on a port in the Test Harness generates a run-time error, execution of the Scenario is halted, and a notification is provided. This behavior can be overridden by modifying the port properties so that the transition value is clamped (confined within the min/max range).

Related Topics:

Using the Signal Dictionary

Signal Classification

Setting Signal Properties in MxVDev

Editing Port Properties in MxTransIt

Editing Test Patterns (Editing Transitions)

Architectural Concepts - Transitions