05-28-2008 05:42 AM
05-28-2008 05:47 AM - edited 05-28-2008 05:51 AM
Hi I_Pant,
create a shift register on your while loop. connect a constant with value 0 to it. Now connect the wire to the case structure, add a "+1" function and do to the other side of the case structure. connect both tunnels in the false case without a function in it. Now you can count the "true" cases. Add another case structure after your first one and connect a boolean button to it. Connect a "0" constant in the true case to the output, and the input value in the false case.
[Edit] here is a picture [/Edit]
Mike
05-28-2008 05:58 AM
thank you Mike....