Trace: • NI-USRP Configuration Utility
Differences
This shows you the differences between two versions of the page.
|
reporting_engine:reporting_engine_formula_edition_rules [2019/02/22 14:50] admin created |
reporting_engine:reporting_engine_formula_edition_rules [2019/03/05 06:00] (current) yasko |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Formula Edition Rules===== | + | =====Formula Editing Rules/Requirements===== |
| - | In many applications it is necessary to provide the user with the ability to change the calculation formulas without compiling the software. | + | In many applications it is necessary to provide users 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]]. |
| - | 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:\\ |
| - | + | ||
| - | When editing formulas you can use the following functions:\\ | + | |
| ^Function ^Corresponding LabVIEW Function ^Description^ | ^Function ^Corresponding LabVIEW Function ^Description^ | ||
| Line 47: | Line 45: | ||
| |tan(x) |[[http://zone.ni.com/reference/en-XX/help/371361K-01/glang/tangent/|Tangent]] |Computes the tangent of x, where x is in radians.| | |tan(x) |[[http://zone.ni.com/reference/en-XX/help/371361K-01/glang/tangent/|Tangent]] |Computes the tangent of x, where x is in radians.| | ||
| |tanh(x) |[[http://zone.ni.com/reference/en-XX/help/371361K-01/gmath/hyperbolic_tangent/|Hyperbolic Tangent]] |Computes the hyperbolic tangent of x.| | |tanh(x) |[[http://zone.ni.com/reference/en-XX/help/371361K-01/gmath/hyperbolic_tangent/|Hyperbolic Tangent]] |Computes the hyperbolic tangent of x.| | ||
| + | \\ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | You can use multiple expressions and define internal variables (i.e., a1..a9, b1..b9, etc.). | ||
| - | \\ | + | Example: |
| - | You can use multiple expressions and define internal variables like a1..a9, b1..b9, etc.\\ | + | |
| - | Example:\\ | + | |
| <code> | <code> | ||
| a1 = abs(Mean) - abs(Min) + rand(1); | a1 = abs(Mean) - abs(Min) + rand(1); | ||
| Line 56: | Line 57: | ||
| Result =a2 - a1 | Result =a2 - a1 | ||
| </code> | </code> | ||
| + | \\ | ||
| - | An example of using the formula editor and in the GUI:\\ | + | An example of using the formula editor:\\ |
| {{:reporting_engine:data_analysis_with_formula_editor.png?1000|}} | {{:reporting_engine:data_analysis_with_formula_editor.png?1000|}} | ||