beautypg.com

8 chart calculator, 1 pre-assigned names for the standard sub-charts, 2 using the chart calculator – Innovate Motorsports LogWorks 3 User Manual

Page 122

background image

LogWorks3_Manual_1.01.doc

- 122 -

10.8 Chart Calculator


The chart calculator usage is exactly the same as for the Math Trace Calculator. With the
following differences:

Channel names CANNOT be used as variables

Sub-chart names can be used as variables.

The special math functions slope and area cannot be used.

The MC special function stands here for “Make Chart”.
The additional variables for the MC function, like unit and limits, are ignored. MC creates
a new user chart.

The ‘t’ variable for time is not available

Standard sub-charts can be modified



Because sub-chart names can be used as variables, the same restrictions as for general variable
names applies here too. See section 5.3, Restrictions on variable names for details.

10.8.1 Pre-assigned names for the standard sub-charts:



chart_avrg

The “average value” sub-chart.

chart_num

The “number of datapoints” sub-chart

chart_stddev The “standard deviation” sub-chart
chart_min

The “minimum value” sub-chart

chart_max

The “maximum value” sub-chart

chart_X

The horizontal value (column header) of the bin used

chart_Y

The vertical value (row header) of the bin used


10.8.2 Using the Chart Calculator


Here are a few examples on how to use the chart calculator:

Example 1: Filtering the chart so that only values with more than 50 data points are used:

chart_num = (chart_num > 50) * chart_num

In this case, the number of data points is reset to 0 (empty) if it has less than 51 data points in it.
The term (chart_num > 50) evaluates to 1 if the number of data points in the bin is more than 50,
otherwise to 0. So, chart_num stays either the same (chart_num * 1 = chart_num) or becomes 0
(chart_num * 0 = 0).