01-24-2024 04:55 AM - edited 01-24-2024 04:57 AM
@paul_a_cardinale wrote:
Would you see a problem if the Louvre replaced the Mona Lisa with a text description of it
this probably will be regarded as a bad decision and will make many people very angry
😉
Documenting the blockdiagram with LaTex-Formulas is rather a niche-application - however, there exits this 2009 tech-demo
https://forums.ni.com/t5/Example-Code/Math-Node-A-new-way-to-do-math-in-LabVIEW/ta-p/3494770
01-24-2024 09:01 AM
@GerdW wrote:
Hi Paul,
do you know of the polynomial evaluation?
I was too narrowly focused on doing a function-by-function conversion to G. Using that simplifies the G code even more.
Btw. according to Wikipedia you calculate a3*ln(Rt)^3 and not ( a3*ln(Rt) )^3…
My mistake -- which underscores the difficulty in reading text formulas.
Here is a fixed up version:
01-24-2024 10:18 AM - edited 01-24-2024 10:25 AM
what I really detest about the formula node is, that you can initialize an array within the formula node, but only with a constant
e.g. float array[499];
trying to change that 499 to a variable breaks the formula node with error "index list expected"
however, arrays can be fed to the formula node as input and be re-used as output