10-29-2016 07:57 PM
If I had an array, and I wanted to build a different array that are multiples of a specific number, how would I go about it?? THANK YOU!!
Solved! Go to Solution.
10-29-2016 08:16 PM
Loops, multiplication, addition.....
Think of how you'd do it manually on paper. Then you should be able to figure out how to do it in LabVIEW.
10-29-2016 09:02 PM
Also, the on-line LabVIEW Tutorials should cover this in the first 2-3 lessons. Or listen in class, ask your classmates for homework help ...
Bob Schor
10-29-2016 10:42 PM
@Pacarranza9727 wrote:If I had an array, and I wanted to build a different array that are multiples of a specific number, how would I go about it?? THANK YOU!!
I would use definitely LabVIEW to do this.
You say you "have an array" From where and in what form? How long? What datatype?
In what way should the different array depend on the elements of the original array?
What is your definition of "build"?
Where does the "specific number" come from? Do you want a new array where each element is the respective value of the original array multiplied by that number or something else?
10-29-2016 11:03 PM
Why do we care that you have an array? You want to build a different array. The two are mostly, if not entirely, independent. The only way I can see the two mixing is if you're intending to index the first. Then, you'd need to explain in a great deal more detail how this happens.
As it stands, you want to create an array with a set multiple of a certain value. Initialize Array and you're done. But, I suspect you've got more that you didn't bother telling us and instead hoped we'd read your mind =/