Mpt calculation process, About the mpt calculations process, Mpt calculation process 408 – MTS Series 793 Application User Manual

Page 408

Advertising
background image

MTS MultiPurpose TestWare®

MPT Calculation Process

Other Process Descriptions

408

MPT Calculation Process

About the MPT Calculations Process

Note

The MPT Calculation process is available only if the controller is
equipped with the Variables feature (keyed option).

Note

The MPT Calculation process does not pertain to calculated station
signals, or to the Calculation Editor in the Station Manager application.
The MPT Calculation process pertains only to variable parameters in
MultiPurpose TestWare.

The MPT Calculation process modifies MultiPurpose TestWare process
parameters that have been assigned to variables. With the MPT Calculation
process, you can modify variable values by applying constants, operators, and
mathematical operators. For example, if you assign the “Count” parameter of a
Cyclic Command process to be variable, you can use the MPT Calculation
process to modify “Count” so that “Count” = “Count” x 2.

Two methods to add

calculations to variables

In addition to the MPT Calculation process, you can also change variable values
by assigning calculations to parameters with the Variable Editor. The method you
use to add a given calculation to a variable has test design implications.

Using the Variable Editor

When you use the Variable Editor to add a calculation to a variable, the
calculation is applied to the associated variable before the first process in the test
procedure is run. Also, the calculation is applied to the variable only once during
the execution of the test procedure, regardless of where the variable is used in the
individual test processes.

Using the MPT

calculation process

In contrast, when you use the MPT Calculation process to add a calculation to a
variable, the calculation is applied to the associated variable whenever the MPT
Calculation process is triggered. This means that:

Any test process that uses the variable but runs before the MPT Calculation
process will not have the calculation applied, and

The calculation is reapplied to the variable each time the associated MPT
Calculation process is triggered, so that the change to the variable value is
cumulative.Calculations process user interface

Advertising
This manual is related to the following products: