The Connections dialog is used to connect ports exported from MxTransIt with Signals in MxVDev. If you make a change to the Test Harness in MxTransIt, the Connections dialog is displayed automatically when you return to MxVDev. You can also access it from the Project menu.

Importing Signals from MxTransIt

The  Connections dialog boxes (there are two: for Stimulus and Response Signals) display the connections between Signals in the Harness (MxTransIt) and the MxVDev Signal Dictionary. If the properties are not identical, the status is unmatched as shown here:

Connectiing-import

When a port is exported, its properties (such as an alias and min/max values) become Signal properties. However, when the Signal is imported its properties may or may not be imported depending which of the options below are chosen. See Exporting Ports–Properties.

The following options are available in the Connections dialog when an applicable Signal or Signals are selected:

Unconnected Signals (top pane):

Delete: Delete the selected Signal from the Signal Dictionary.

Connect: Link unlinked Signals. Select one from the "Unlinked Signals: Harness" list and a corresponding Signal from the "Unlinked Signals: Signal Dictionary" list. Click Link.

Import and Connect: Add a Signal and its properties from the Harness to the Signal Dictionary and link to it.

Clear Action: Clear the action from the Action column in the Unconnected Signals pane.

Connected Signals (middle pane):

Disconnect: Break the connection between the selected Signals in the Harness and the Signal Dictionary. The Signal is not deleted from the Signal Dictionary.

Accept Connection: Connect the Signals, but do not copy the port properties into the Signal Dictionary.

Reimport: Reimport the Signal and its properties into the Signal Dictionary, overwriting any Signal properties already there. This clears an unmatched status.

Clear Action (bottom): Clear the action from the Action column in the Linked Signals pane.

Show/Hide Properties: Toggle display of the Properties and Notifications tabs at the bottom of the dialog box.

Properties/Notifications (bottom pane):

Properties: This tab shows the port properties (in the Harness) and the Signal Properties (in the Signal Dictionary) enabling comparison.

Notifications: This tab shows messages to explain the connection status.

Buttons (bottom of dialog):

Apply: Perform all the actions in the Action columns. Leave the dialog open.

OK: Perform all the actions in the Action columns and close the dialog.

Cancel: Close the Connections dialog without performing any actions.

Note:

The are two options in the Project Settings that affect how Signals are connected: Keep the Signal Dictionary synchronized to the Harness and Remove stale connections. By default, these options are off.

Connecting Signals with Differing Names

In the simplest case, Signals in MxTransIt and MxVDev have the same names.  However, when reusing TestCases and models, the names may not match.

To connect signals defined in the Signal Dictionary to Harness (MxTransIt) signals, use this procedure:

1.From the MxVDev main menu, select Project->Connections->Stimulus.

Note: If the Harness is changed and reloaded into MxVDev, the Connections dialog is displayed automatically and this step is unnecessary.

Connecting-before

2.Click on the Harness signal and then the corresponding Signal from the Signal Dictionary.

3.Click the Connect button to connect the signals.

Connecting-after

4.Repeat steps 2 and 3 for each Signal to be connected.

5.Click Apply or OK to connect the Signals.

6.Repeat the procedure using Project->Connections->Response to connect Response signals.

 

Related Topics:

MxTransIt Overview

Signal Dictionary

Exporting Ports