I have a subvi that counts the number of times that a digital input changes to a high value, during a certain time. In this subvi this input is inside a while loop, so I have any problem.
But I have used this subvi in other vi, so the digital input goes inside the loop, only, the first time.
I knwo that a solution is using a global variable. But is the rare solution?
I´ve attached the vi, the varible that goes inside only one time is "Entrada Digital" !
Thanks for your attention!!
Graci