Author and Use Signals in Tests

This section describes the high-level workflow of authoring and using signals in tests.

Note that you would often create a Simulink element first and can create the test vector from the element, but in this workflow example you start by creating a new test vector.

  1. On the Test Vectors pane of SystemTest™ software, click the New button.

  2. Select Test Case Data as the test vector type. Click OK to create it.

    See Create a Test Case Data Test Vector for more information on this step.

  3. On the Test Vectors pane, select the Test Case Data test vector you just created.

  4. Click the Open Test Case Editor button to open the tool.

  5. In the Test Case Editor, add one or more test cases using the Add Test Case button.

    See Create Test Cases for more information on this step.

  6. Select a test case and add one or more signals to it using the Add Signal button.

    See Add Signals to Test Cases for more information on this step.

  7. For each signal, append the desired segment(s) to create the signal you'd like to use.

    See Add Signals to Test Cases for more information on this step.

  8. For each segment, configure its attributes as needed.

    See Add Signals to Test Cases for more information on this step.

  9. Once you have created and edited the test cases and signals that you need, close the Test Case Editor by clicking the x button in the banner or the OK button at the bottom of the window. When you close the tool, the SystemTest software saves the data in the Test Case Data test vector.

  10. Return to the SystemTest desktop. You can now use Test Case Data test vector and the signals it contains in your test, via the Simulink element, the Limit Check element, and the General Plot element.

Was this topic helpful?