02-10-2009 01:58 PM
02-10-2009 02:16 PM - edited 02-10-2009 02:17 PM
Since you are doing all binary 1's. You could use "And Array Elements" from the Boolean palette and feed it to your stop terminal. If all 1's, that is result is True and the loop stops. If one or more elements is a 0, then the result is False and the loop doesn't stop.
02-10-2009 02:16 PM
Boolean Palette -> Compound Arithmetic.
Stretch it to 8 inputs.
Right-click and change mode to "And".
02-10-2009 02:17 PM
02-10-2009 06:54 PM
02-10-2009 08:26 PM
Just use a For loop with a 256 wired to the N terminal. The iteration counter i will run from 0 to 255, which is 00000000 to 11111111 in binary.
02-11-2009 06:22 AM
02-11-2009 06:57 AM - edited 02-11-2009 06:59 AM
Since you are dealing with binaries, why not work with binaries? Simply loop until you reach the binary value 11111111 or FF (hex) or 255 (decimal). You can start your count at any value, and no need to deal with booleans. In this case you would use the greater or equal to function to compare whatever value (binary, hexadecimal or decimal) that you are working with.
Keep it simple.
R