Call me back | My basket | Checkout | Add to email list

     You are here: Website » Knowledge base

« back to website

AnalysisVariableManager / CustomTransformations

User defined Variable "transformations"


Examples of a "user defined variable transformation" include:

  • Converting from one unit to another, for example degrees K to degrees C (although most standard units are pre-defined)
  • Converting a voltage from a sensor into a temperature
  • Converting 2 wheel speeds to a slip ratio between then
  • Converting the pulses in longitudinal acceleration to a cadence

A transformation can be applied to a logger input, for example an analogue or frequency input, or as a standalone transformation as a user defined variable.

The format/syntax of the transformation is almost identical whether it is applied to an input or a user defined variable, it just depends on the desired result. One important reason to use a user defined variable is if you want to keep the original value of the variable. When you add a transformation to an external input then the original input is "lost" - for example if you apply a transformation to the longitudinal acceleration then there is no way to then graph the original longitudinal acceleration. Another more subtle difference between standard inputs and user defined variables is in the calculation order:

For standard variables and inputs they are all:

1. transformed/converted using whatever conversion specified, for example from volts to degrees C for a temperature sensor

2. the rate of change filter is applied

3. the linear smoothing filtering is applied

4. the custom (frequency) filters are applied

5. the calculus filters are applied

6. finally, the minimum and maximums are applied

When user defined variables are calculated each one is done before the next in order... for "User variable 1" we do steps 1-6 above and then the program proceeds to doing "User variable 2" etc. The effect of this is that you can build up results, so "User variable 2" can depend on the filtered and transformed result of "User variable 1" etc and in some situations this can be a very useful property.

To specify a "user defined variable transformation", there has to be a user defined "formula". It is flexible enough for most applications, but quite simple to use and fast to run - details here

IMPORTANT! All the variables in the software are, by default, set to a specific unit type. If you wish to create a custom definition, then it must be relative to the native unit type. CLICK HERE FOR A LIST OF NATIVE UNITS FOR VARIABLES

Page last modified on January 09, 2019, at 01:08 PM