Driver Details

New

ReCalc

By: Coupe Automation
Updated: April 1, 2026
Version: 2.20
Download Driver Purchase License
Rating: 0.0 (0 ratings)
Log in to rate this driver

This driver takes another driver's integer variables and applies a math function (that you create) to those variables. The result is stored in this driver's integer variables for you to use in any way you want. You can re-range amplifier volume variable return values from negative values to positive values to be used as an index into an image array. You can convert temperature from Fahrenheit to Kelvin (or Celcius) if you want. You can convert and apply any function to variables to produce interesting results.

ReCalc Driver

This driver takes another driver's integer variables and applies a math function (that you create) to those variables. The result is stored in this driver's integer variables for you to use in any way you want. You can re-range amplifier volume variable return values from negative values to positive values to be used as an index into an image array. You can convert temperature from Fahrenheit to Kelvin (or Celcius) if you want. You can convert and apply any function to variables to produce interesting results.

Configuration

During configuration you select which other driver variables to use for calculations. These can be set to any driver's integer variables such as an amplifier volume feedback number. Then you can write a mathematic expression that represents the conversion function. Use 'x' in place of the integer input variable (instead of 'Integer 1' use 'x' for the first conversion function). You can not use any other variable in this expression at this time.

For example: Conversion 1 might hold the math expression "2 * x + 100". This will multiply the other driver's integer variable value by 2 and then add 100 to it and store the result in Integer 1 in this driver's variables. If the other driver's variable value happened to be -50, then the result would be zero. This will cause the Zero Flag 1 to be set to true and trigger Event 1 in this driver.

You can use the following variables: x, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, ... x20, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, ... f20. 'f' variables are flags or booleans representing the "Zero Flags" and are true when the integer result of the last calculation is zero.

Also added are s1 through s20 and t1 through t20. 's' variables are String variables that are interpreted as integers. Any part of the string after digits, plus, minus, dot and space are ignored. 't' variables are time strings such as 4:24 and are converted to total number of seconds. You can do math on time! LOL

Integers

The integer variables hold the results of your calculations based on the expressions you enter in configuration.

Accumulators

There are two accumulator registers you can use by accessing and storing to either a1 or a2 variables. These are saved and updated every time any equation is run. Be careful that you don't overrun these variables.

An example of using an accumulator would be a1 = (a1 + (x + 75) * 4 / 3) / 2

Strings

The string variables are just another text variable holding the result.

Time Strings

The time string variables are another text variable holding the result displayed as time. Format is as expected hours:minutes:seconds. e.g. 11:24 is 11 minutes, 24 seconds.

"Zero Flags"

These flags are true when a corresponding integer result is equal to zero and false otherwise.

Commands

Execute Conversion

Call this function to directly execute a function on a constant value. This may help you test your math function.

Clear Accumulator

Sets the specified accumulator register to zero.

Trigger Event

Call this function to manually trigger an event. Events also get triggered when a integer result variable becomes zero or when a calculation results in a zero value.

You can test this driver for one hour after download or reboot on your XP processor. If you like it and it works for you, you can purchase a license key.