LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

formula node

Solved!
Go to solution
Solution
Accepted by topic author s.turino84

You really should add a dt input to state what your time step size should be.  And again, I would just keep this in the native LabVIEW.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 11 of 13
(590 Views)

yes ofc in the example I deleted the for because I put in the formula node (like in matlab) n=0:0.5:100 or something like that 🙂 

the problem that i don't understand is the reason why it doesn't work with this formula. I mean my idea was to bypass the FOR.

Another thing why the A must not be an integer?

0 Kudos
Message 12 of 13
(569 Views)

Formula nodes aren't the same thing as matlab.  They don't use the same syntax.  It doesn't have an array definition function like you are showing n=0:0.5:100.

 

You can put a For Loop inside the formula node.  Look at the help for a formula to see the syntax of the functions it supports.

0 Kudos
Message 13 of 13
(562 Views)