From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-22-2008 10:15 PM
02-23-2008 12:52 AM
Yes, you keep the array in a shift register or feedback node. This is the right way to do this. What makes you think that you need to do this without them?
Best is to allocate a fixed size array and then replace elements using "replace array subset". If you do it right, there will be exactly one copy of the array in memory and all operations will occur "in place".
(Note that operations such as "insert into array" and "delete from array" change the array size and thus force a new copy in memory. So try to avoid these)
d1sturbanc3 wrote:
In labview, to insert elements into the array, I have to give it an existing array. How do I do that and keep the old array without a feedback loop. Right now, to get it working, I'm passing an old buffer, using the insert array VI, passing out the new array. I have to wire the new array to the old
01-08-2013 04:58 AM
hi, i want to extract certain elements from an array which satisfies a true condition and put it into another array. I am not able to do it with shift registers. what is the other way using which i can achieve this
01-08-2013 05:25 AM
Suggestion: Do not post your query to a thread that is way old even though if it is similar. It is always recommended to start a new thread with a right title that explains your problem (More info for start here)
Answer: Use Index array with the proper element index to extract data and insert into array to put those data into another array.