MTS TW Elite User Manual

Page 100

Advertising
background image

resource map saved in the test definition is an inventory of resources the TWE application expects to find
the next time it connects to a station.

You must either automatically or manually map the test resources to controller resources before you can
load and run the test procedure on that station. Resources are stored with the test definition and validated
against the available controller resources the next time the application connects to a station.

Automatic mapping example

Suppose you modify a test while TWE is connected to a controller. As part of your test, you add a Go To
activity and select a control channel named “Ch 1” and a control mode named “Displacement”. When you
do this, you are using the test resources that TWE mapped to the controller when TWE connected to the
controller. When you save the test, the names for all of the test resources in the test definition appear
identical to the equivalent controller resources on the Resources tab.

If you disconnect the controller from your test, TWE expects to find the same controller resources for the
current test in whatever controller you connect to in the future.

If you reconnect to the same controller, TWE maps the channel and control mode test resources to the
equivalent resources in the controller, and you can run the test immediately.

If you reconnect to a different controller, one of two things may occur:

If TWE finds a control channel named “Ch 1” and a control mode named “Displacement” in the controller
with equivalent functionality, then TWE automatically maps them to the test resources with the same
name. If the remainder of the test resources also map to the controller resources in the new station,
you can run the test immediately.

If TWE does not find a control channel named “Ch 1” and a control mode named “Displacement” in the
controller, it shows validation error icons. You must resolve these errors (and any other validation errors)
before you can run the test.

Manual mapping example

Suppose you modify a test while TWE is connected to a controller, and that the controller has a channel
named “Axial” with a control mode named “Length”. Now, suppose you disconnect from the station and
connect to a different controller that has a channel named “Ch 1” and a control mode named “Displacement”.

In this case, TWE is unable to automatically map the new controller resources to the test resources, and
shows error icons (1). To resolve the errors, you must manually map the controller resources to the test.
You do this by choosing compatible controller resources from the drop-down lists to resolve the mapping
errors, as shown in (2). In this example, the controller channel and control mode resource names “Ch 1”
and “Force”, have been mapped to the test channel and control mode names “Axial” and “Length”.

100 | MTS TestSuite

Working with MTS FlexTest Resources

Advertising