06-25-2007 01:55 PM
That sounds way too convoluted. Can you show us your final code?
@unknown00 wrote:
i got it. had to create another loop for the boolean button inside the loops instead of out and used the string constant and seems to work fine atm 🙂
06-25-2007 02:04 PM
06-25-2007 02:15 PM - edited 06-25-2007 02:15 PM
Message Edited by unknown00 on 06-25-2007 02:17 PM
06-25-2007 02:30 PM
06-25-2007 03:27 PM
06-25-2007 03:51 PM
@unknown00 wrote:
figured out loops at to convert 2d array to 1d but that doesn't help much. here is attached code. basically when true append to array when false create new array (delete all from old append new) can't get it to work
06-25-2007 04:03 PM
06-25-2007 04:14 PM
06-25-2007 04:30 PM
06-25-2007 04:36 PM - edited 06-25-2007 04:36 PM
No, I did not test the excel part and I don't really want to. I don't understand why you say you need to stop the program. Since it only runs once, it stops automatically after each run. (Don't use the continuous run button!!!)
To test, I just copied the loops into a fresh VI and used a 2D array of strings as input (size 2x2, one element with a blank string).
Make sure you undestand my code, these are some very basic designs. (It might be better to use a WHILE loop for the outer loop with the stop condition hardwired to stop).
Message Edited by altenbach on 06-25-2007 02:38 PM