Trace:
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
reporting_engine_formula_edition_rules [2018/12/05 16:46] admin created |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====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 [[http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/formula_node_and_express/|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:\\ | ||
| - | <code> | ||
| - | a1 = abs(Mean) - abs(Min) + rand(1); | ||
| - | a2 = abs(Peak) - abs(Mean)+ rand(1); | ||
| - | Result =a2 - a1 | ||
| - | </code> | ||
| - | |||
| - | An example of using the formula editor and in the GUI:\\ | ||
| - | {{:reporting_engine:data_analysis_with_formula_editor.png?1000|}} | ||