Mensurasoft-LZ : transformation functions


General description management of languages load a driver to an analog input transforming formulae
Time settings Acquisition : measures over time Chart window and its own menu Send data to clipboard or save them in a file
Binary outputs Fixed analog outputs Variable analog output
Configuration files

These formulae are used on the one hand for the analog inputs, on the other hand for the variable analog output.
The source library comes from a file of library SWAG (http://webtweakers.com/swag/MATH/0130.PAS.html).

Possible variables

The analog inputs have variables xP (value sent by the driver of the primary channel), xA (value sent by the driver of the auxiliary channel), and xS (value sent by the driver of the supplementary channel).

For the variable analog output, a fourth variable is possible, xT, which is time in seconds of the series of measure. That allows a signal which varies along the time, for example a square signal, or a saw-signal, etc

Operations and functions

The usual operators are possible: +, -, *,/, ^, !

Functions available:

sin, cos, tan, cot, acos, asin, atan
int, sqrt, abs, log, ln, exp, pi,

Comments after the function

One can put comments after the function, which can be useful in the files of configuration to remember why the transformation was made.
Example:
-3.5*xP //this is the comment