11-18-2011 05:26 PM
Hello,
I'm trying to take my maximum amplitudes and multiply them by some constant that i determine and then have each amplitude added together into a 32-bit integer. An example of use is sensing the accleration of 5 punches multiplying the max amplitudes by a constant, add them all together, and output a "score" for that persons punches.
Attached is a simple version of my code. The amplitdue output from the Peak detection is where I'm having trouble because it is outputing an array and i want to add all the values together to a single 32-bit integer.
Thanks for the input, it is greatly appreciated!!!!!
Zack
Solved! Go to Solution.
11-21-2011 02:04 PM
Zack,
Try using an Index Array followed by an Unbundle by Name to get a numeric output. Then you can use Add Array Elements to sum them.
Let me know if that is what you were looking for!
Katie