LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

product of array

Hi!

Somebody help me with formula node:
How can I calculate the product of two arrays using a "formula node",I have tried using loops "for" but I have not obtained the correct result, moreover the vi remain in an infinite loop that does not allow me to close it.
I think that I do not write correctly the code of loops.

Greetings.
0 Kudos
Message 1 of 4
(2,747 Views)
Hi,
Just see this example it has 2 solutions hope it helps you.
cheers
vicky
0 Kudos
Message 2 of 4
(2,739 Views)
You can also wire both arrays to the multiply numeric function and the result will be an array.
0 Kudos
Message 3 of 4
(2,734 Views)
Just an add on to UncleBump's reply..

The product function is of "polymorphic" thus you may simply input two numeric arrays to its inputs and recieve the product output as an numeric array.

Cheers!
ian.f
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 4 of 4
(2,704 Views)