beautypg.com

2 calculating new bit channels – Innovate Motorsports LogWorks 3 User Manual

Page 117

background image

LogWorks3_Manual_1.01.doc

- 117 -

To limit the min and max bounds select the areas in each session you are

interested in calculating. When areas are selected, the formula calculator will only use the
selected areas for the bounds calculations.


You can also set fixed bounds by adding the bounds to the MC command like this:

MC(power;hp;0;500) =

trq * RPM / 5252 #RPM is the RPM channel

This will now create a channel with bounds of minimum 0 hp and maximum 500 hp. This
eliminates for example negative hp values created during braking.




If you want to set the minimum bound only, just leave out the maximum as in this:

MC(power;hp;0) =

trq * RPM / 5252 #RPM is the RPM channel

If you want to set the maximum bound only, just leave out the minimum, but use 2 semicolons as
in this:

MC(power;hp;;500) =

trq * RPM / 5252 #RPM is the RPM channel

LogWorks stores the data in 10 bit words. This means that the results are stored

with a resolution of about 0.1%. Therefore calculated channels should not be used in
further calculations. Calculate one channel at a time.

For example:

MC(trq;lbft) = F * r / (gear_ratio * finaldrive)
MC(power;hp) = trq * RPM / 5252 #RPM is the RPM channel

Would work, but can create wrong results because trq is stored with 10 bit resolution and then
used in the hp calculation.

Instead recalculate or assign the torque channel as in this:

trq = F * r / (gear_ratio * finaldrive)
MC(torque;lbft) = trq
MC(power;hp) = trq * RPM / 5252 #RPM is the RPM channel

10.5.2 Calculating new bit channels


Bit channels can be calculated the same way as value channels. If the calculation result is 0 or
false, the resulting bit channel value is 0. If the result is not zero, the resulting bit channel value is
1. You can also use Boolean operations in bit channels.