by DarrenR on Mon Sep 01, 2008 12:21 pm
Hi Neel,
There is no comment character within the Math expression.
You can do maths on an overlay. It is an undocumented feature that is not used very often and is relatively untested. Also it is most likely going to change in the future but you can use it for now.
To specify to use the reference lap (overlay 0), you type ref: in front of the channel name. To specify to use the next overlay (overlay 1 or the next lowest overlay number) you type in overlay: in front of the channel name.
So your expression looks like this
'Wheel Speed FL' [km/h] - ref:'Wheel Speed FL' [km/h] (finds speed difference between main and reference laps)
ref:'Wheel Speed FL' [km/h] - overlay:'Wheel Speed FL' [km/h] (finds speed difference between reference and overlay 1 laps)
These are only time based, not distance. The overlay of the maths result is shown but not relevant. The expression is not calculated until the overlays are selected.
Let us know how you go with this.
Darren Reynolds
MoTeC Research Centre - Melbourne, Australia.