08-25-2007 01:39 PM - edited 08-25-2007 01:39 PM
@Candice wrote:
I seemed to have unwittingly caused dissension in the ranks, and I apologize about that.
Sorry, maybe I was a bit harsh too in my words, typical for a Friday afternoon. 🙂 Everybody is very welcome to post anything as long as it relates to LabVIEW. The questions here range from beginners questions to very advanced topics and we will try to answer them all to spread the word that LabVIEW is easy, fun, and powerful at the same time. 🙂
Everybody is encouraged to contribute to the questions and answers.
To increment an existing 2D subset, you need to read the current subset, add the desired values, then write it back to the original location using "replace array subset". If this should happen in a loop, it is easiest to keep the main array in a shift register.
Here is a quick example that shows the main technique. It first creates a 100x100 2D array, then increments the existing data by a 20x20array of random (0..1) data. See if this makes sense. The insert point is given by the location of the cursor, just move it around for some effect. 🙂 Hey, it even looks pretty! 😄
See if this makes sense. Good luck and happy wiring. 🙂
Message Edited by altenbach on 08-25-2007 11:42 AM
08-27-2007 08:04 AM