0 numeric variables, 0 string variables, 0 calculated variables – MTS Fatigue Analyzer User Manual

Page 79

Advertising
background image

After you create the new variable in either the Multipurpose Elite, Fatigue Analyzer, or Fracture Analyzer
applications, the Properties panel appears. In the Properties panel, select one of the Array options in the
Type field to create a new array variable.

Calculations

The Calculation Editor provides a variety of array functions for use with array variables. Some result in an
array. Some result in a single value, depending on the operation contained in the function.

You can perform arithmetic operations on array variables. You can also create custom functions to perform
specialized processing on data arrays and other array variables.

7.3.3.0 Numeric Variables

By default, variables are defined as single-value, numeric values.You can assign either integer or floating-point
values to a numeric variable.

To specify that a numeric variable hold a multiple-value array, select the Array of Numbers option in the
Type field.

7.3.4.0 String Variables

To specify that a variable hold a string, click String as the type. A string can contain alphabetic, numeric, and
space characters. In addition to using string variables to store text values, you can also include string variables
in calculations that use text functions to parse and manipulate the string values. String variables also can be
used in choice lists.

To specify that a string variable hold a multiple-value array, select the Array of Text option in the Type field.

7.3.5.0 Calculated Variables

Calculated variables perform calculations to determine the value of the variable. The calculation can include
operations, functions, and references to other variables. The result of the calculation must generate the same
type of data that is stored in the variable. The application validates variable equations as they are entered
by you and notifies you if the equation is valid.

Note:

If a calculation has been defined for the variable and you clear the Use Calculation check box, the
panel clears and the equation is lost. If you later decide that you want to use the original equation, you
must re-create it.

For example, you want to create several calculations that include velocity, which is itself a calculation. You
can create a calculation variable, label it “velocity,” define its equation, and use it wherever an equation
requires a value for velocity. This method is more efficient than repeatedly creating an identical velocity
equation.

MTS TestSuite™ Fatigue Analyzer User Guide 79

7.0 Variable Analysis

Advertising