01-13-2011 09:23 PM - edited 01-13-2011 09:26 PM
Altenbach,
I tried to encompass your solution into my problem but was unable to satisfy my conditions. I have an array of these booleans that are used as on off reset states rather than on and off. I am still not sure how to reset the initial #s. If I run the button through the cycle of on, off, reset, then do it again the initial #s stay the same when they should be different. I attached a simple vi to show my troubles.
Thank you in advanced for your help. Also thank you for anyone else's help on this problem either.
~I did not open a new thread because I feel like the solution to my problem can be built off this thread's solution. (please correct me if I am wrong)
Thank you again.
01-14-2011 04:36 AM
ADrexelDragon wrote:~I did not open a new thread because I feel like the solution to my problem can be built off this thread's solution. (please correct me if I am wrong)
By appending to an existing thread, you are robbing yourself of the opportunity to mark the best answer as solution. Especially if a thread is already solved, you should typicall start a new thread.
In any case, I don't quite understand your program. Why are you growing the 2D array without bounds, thus thrashing the memory more and more, the longer the VI runs. Shouldn't there be an in-place solution?
When you reset, you seem to try to replace relevant columns with an empty array, basically leaving the existing column untouched. This does not overwrite anything.
01-14-2011 10:04 AM
I will make a new thread. Sorry Jeppe Mortensen for intruding on your thread. Thank you.