About variables in reports, Example: add a max load value to a report template – MTS Reporter Add-In User Manual

Page 31

Advertising
background image

area) and system variables (such as test run name, user name, and test name) that you can add to your
report.

About Variables in Reports

Most information that you want to include in a report must be saved in a variable. Some variables are
automatically created and mapped by the application and others must be created by the user.

Note:

MTS-supplied templates include preconfigured data acquisition activities and variables that save
data for use in various charts/tables that appear in the test, report templates, and post-test analysis.
If you are creating your own tests, you must create data acquisition activities and variables to save
the data.

Test data

If you are creating your own tests and want to include test data in reports, you must create data acquisition
(DAQ) activities to collect the data and create variables where the DAQ activity will save the data.

In some instances, this could be as simple as configuring a data acquisition activity to automatically
map signals to variables (a process that automatically creates the variables required to store the data).

In other instances, you may have to create data acquisition activities that store signal data in array
variables, and then create an array variable that performs calculations on the signal data and stores
the result. For example, a stress array variable could include a stress calculation that uses data from
a load array variable.

In either case, if you want to show test data in a report, your test must include a data acquisition activity
that will collect the data and save it to a variable.

Other variables

In addition to test data variables, reports can include other single-variable values that are not associated
with data acquisition. For example, there are specimen variables (such as geometry type, diameter, and
area) and system variables (such as test run name, user name, and test name) that you can add to your
report.

Example: Add a Max Load Value to a Report Template

To include a max load value in a report, the data must be stored in a variable that will appear in the Reporter
Add-In Single Variable Values list.

Note:

Signal and variable names used in the following example may vary depending on the type of MTS
test software that is used.

1. If necessary, add the Max/Min DAQ activity in parallel with the command activity where you want to

acquire data.

2. Configure the Max/Min DAQ activity:

a) Add the Load signal to the signal list.
b) On the Reference Signal list, click Load.
c) Select the Maximum Values check box.
d) On the Save data to variables? list, click Yes, automatically map variables.

MTS TestSuite | 31

Working With Test Reports

Advertising