The Interactive Test Panel is an alternate way of sending test data to the SUT. In a conventional TestCase, we pre-define how a set of Signals changes relative to each other over time. The Interactive Test Panel enables you to directly interact with the SUT using buttons, sliders, and other controls.

You add Signals to an interactive TestCase in the same way as for a conventional TestCase. A user interface is created for each Signal based on information retrieved from the Signal Dictionary.  There are several user interfaces based on whether the Signal is Discrete, Continuous, or message.  It takes just a few seconds to create a panel.  There is no code to write.

Key features include:

The value entered in Interactive panel is transmitted when you tab to a new control or hit enter.

You can use a regular TestCase to record the stimuli that are made on the Interactive Test Panel.

The SUT can still be either a Software-in-the-Loop or a Hardware-in-the-Loop entity.

For an example of an Interactive Test Panel, see the TurnDoor Sample Project.

Using Interactive Test Panels

hmtoggle_plus1Keep the Scenario Running
hmtoggle_plus1Set the Clock to Real Time
hmtoggle_plus1Adding and Removing Signals
hmtoggle_plus1Entering Text
hmtoggle_plus1Queuing Transitions

Notes

To see the stimulus transitions from the Interactive Test Panel in other TestCases that are running consecutively, set the Show Actual Values option for the stimulus Signals.

For response Signals of type Message, the value is shown in Hex or Text format based on the Display Format selected for that Signal in the Signal Dictionary.

Interactive Test Panels work with Simulink, however you must use the S-Function interface to Simulink.

Related Topics:

Picking Signals

Recording