0 variable classes, 0 arrays, Variable classes – MTS Fracture Analyzer User Manual

Page 69

Advertising
background image

If you delete a variable that uses a local choice list, you also delete the choice list.

If you delete a variable that uses a global choice list, only the variable is deleted. The global choice list
remains and is available for use with other variables.

Properties

The Choice List panel is available only for string variables.

Choice List Panel Properties

Description

Item

Select this option to modify an existing choice list or create a new choice list.
If you select this box, the field selection is required, as indicated by the error
icon.

Use Choice List

When you create a variable with a choice list, you must assign a default value
from your list of values.

Click the drop-down menu to see the available global choice lists or to create
a new one in the Global Choice Editor.

Click <modify choice lists> to open the Global Choice Editor.

Add a selection to the choice list. This function affects only local choice lists.

Add

Edit the identifier name or the display name of a choice list selection. This
function affects only local choice lists.

Edit

Remove a choice list selection. This function affects only local choice lists.

Remove

7.3.0 Variable Classes

7.3.1.0 Arrays

An array is a variable that holds multiple values of the same data type. The elements of an array are indexed
from zero. For example, an array with an identifier of “A” and a size of ten contains the elements:

A[0], A[1], A[2], A[3], A[4], A[5], A[6], A[7], A[8], and A[9]

The elements of an array can be individually referenced or assigned. For example, arrays are used for cyclic
data acquisition. Every time a Data Acquisition activity is triggered, arrays assigned to the activity are
repopulated with data. Data from the previous data acquisition is replaced.

You can use arrays to perform calculations on a series of values. For example, you can use array data to
calculate the minimum, maximum, and mean of cycle data.

MTS TestSuite™ Fracture Analyzer User Guide 69

7.0 Variable Analysis

Advertising