04-15-2023 05:11 AM
Hi at all!
I'm new in Labview, and for a measurement test i would try to count no° of iteration of a for loop inner another for loop.
The outer loop has an indexing with 5 elements, and inner loop other 5 loop.
So, my intent is to indicating to the operator the n. of step in execution respect of the total.
I have try with shift register but i'm worng in something that.
Can anyone help me please?
Thank you in advance!
04-15-2023 06:09 AM
Maybe this will help. The numeric indicator will show the step number.
This is a snippet. Save the .png file then open a new vi and drag it (.png file) onto the block diagram.
04-15-2023 06:35 AM
Here's another way (for completeness -- the single Shift Register way, in my opinion, is better, but I've also used code like the following snippet):
I trust you understand why the "1" is in the compound arithmetic function, and also why the "Wait" function is there ...
Bob Schor