Patrotest Wiki

Translations of this page:

Trace:

This is an old revision of the document!


Formula Edition Rules

In many applications it is necessary to provide the user with the ability to change the calculation formulas without compiling the software.

We use the functionality of National Instruments labview

When editing formulas you can use the following functions:
СВЕТА - ВСТАВЬ ТАБЛИЦУ с функциями и с линками на описание функций на сайт NI

You can use multiple expressions and define internal variables like a1..a9, b1..b9, etc.
Example:

a1 = abs(Mean) - abs(Min) + rand(1);
a2 = abs(Peak) - abs(Mean)+ rand(1);
Result =a2 - a1

An example of using the formula editor and in the GUI: