03-30-2021 03:33 AM
Hello,
I have built the block diagram below for a Modulo 6 counter and I want to run it 7 times and only 7 times. As it is now it runs infinitly and makes it impossible to get the data I need.
Is there a way to set the loop to run once?
Thanks.
03-30-2021 03:38 AM - edited 03-30-2021 03:43 AM
Hi Cw,
@Cw1994 wrote:
I have built the block diagram below for a Modulo 6 counter and I want to run it 7 times and only 7 times.
When you know how many iterations your loop should run then you should use a FOR loop instead of a WHILE loop…
Or employ polymorphism: