09-04-2018 12:25 PM
Hello forum,
there is this online help article from NI:
http://zone.ni.com/reference/en-XX/help/371361P-01/lvconcepts/formula_nodes/
...where we see this piece of code:
Can somebody help me to re-create this? I tried, but I can't spawn the numArry as an actual array output - it's always a scalar!
There must be a trick, please tell me
Here's what I tried already:
Regards,
Alex
Solved! Go to Solution.
09-04-2018 12:31 PM
Right-click the node output and set the data type? (Sorry, posting by phone, cannot test).
09-04-2018 12:38 PM
Hi Alex,
Believe it or not, it is because of your comment syntax! Change the " /* " to " */ " at the end of your comment.
09-04-2018 01:02 PM
Gregoryj is right.
(I guess I had the Mathscript node behavior in my mind when composing my answer above, but in my defense I never use any script nodes myself ;))
09-05-2018 06:31 AM - edited 09-05-2018 06:49 AM
@Gregory
wrote:
Hi Alex,
Believe it or not, it is because of your comment syntax! Change the " /* " to " */ " at the end of your comment.
altenbach wrote:
Gregoryj is right.
(I guess I had the Mathscript node behavior in my mind when composing my answer above, but in my defense I never use any script nodes myself ;))
thank you both!
I hardly use the script nodes in real applications - but for lazy prototyping, I tend to use the formula node.
Especially, if mathematically or logical equations are involved in finishing the task.
Understanding the formula node's syntax and programming with it
belongs to the category "brain calisthenics" 😉