About variable operation, About variable operation 107 – MTS Series 793 Application User Manual

Page 107

Advertising
background image

About Variable Operation

MTS MultiPurpose TestWare®

Working with MPT Variables

107

About Variable Operation

“Fixed” parameters

Normally, when a procedure is running, you must stop the test and unlock the test
procedure before you can change any of the values in its processes. In this sense,
the parameter value is “fixed.”

For example, suppose you add a Cyclic Command process to a test procedure and
select a Segment Shape of Sine with a frequency of 10Hz. To change the
frequency after the test has started, you must stop the test, unlock the test
procedure, open the Cyclic Command Process dialog, and change the value.

Variable parameters

With variable parameters, you can change parameter values without opening the
associated process definition dialogs. When you change a variable value, all
parameters associated with the variable are changed to the same value
simultaneously.

For example, suppose you create a variable named “VarFrequency,” and assign it
to the frequency parameter of a Cyclic Command process and a Segment
Command process. Now, with the procedure unlocked, you change the
“VarFrequency” value from 1 to 2 Hz. The frequency parameter in both the
Cyclic Command and Segment Command processes change to 2 Hz
simultaneously.

While the test is running, you can use an Operator Information or an MPT
Calculation process to change the value of the VarFrequency variable. When the
VarFrequency variable changes, the Cyclic Command and Segment Command
processes will use the new frequency value the next time they are triggered.

Advertising
This manual is related to the following products: