File:Formula Node.png Formula Node
The Formula Node evaluates mathematical formulas and expressions similar to C on the block diagram. The following built-in functions are allowed in formulas:
abs, acos, acosh, asin, asinh, atan, atan2, atanh, ceil, cos, cosh, cot, csc, exp, expm1, floor, getexp, getman, int, intrz, ln, lnp1, log, log2, max, min, mod, pow, rand, rem, sec, sign, sin, sinc, sinh, sizeOfDim, sqrt, tan, tanh
.
There are some differences between the parser in the Mathematics VIs and the Formula Node.
Usage
Best practice
Tips and tricks
Use slash-asterisk pairs to enclose multi-line comments (/* multi-line comment */
). The comment ends at the next */
Use double-slashes for single-line comments (// single-line comment
). The comment ends at the end of the line.
History
Version
Change(s)
More info to come.
See Also
External Links