03-18-2016 12:55 AM
Hi, i need to know how to add elements in array without overwriting data in that array. I have tried buid array and inser into array options to create an array of 4600 elemnts. But only one data is stored that is a data of 4600th element. I don't know how to add elements in array without overwriting. Suggest me some solutions.
Thanks in advance!
03-18-2016 01:00 AM - edited 03-18-2016 01:06 AM
Hi Hans,
"adding" elements to an array is done using BuildArray. Point.
In your image there is no BuildArray or InsertIntoArray function, so it seems it's not the latest attempt of yours…
Your image shows your great lacking of very basic LabVIEW stuff. Please learn about DATAFLOW and how to use shift registers! Learn to avoid local variables and sequence structures!
What's the point in setting your "numeric" to zero, then reading the value of "numeric" by using a local variable to increment it, followed by setting "numeric" to one?
Why not just set "numeric" to one?`Why even use a control "numeric" then, when you always set it to "one"?
03-18-2016 01:58 AM