hello, this should be simple but im beginner, i have made a basic counter like the tutorial in youtube from NI see attachment
i am using Crio 9083 and a rotary encoder to mesure the RPM and angle position, i count two boolean signals incrementation, my issue is resetting counts to zero
the counter1 must be rested to zero when it reaches 500 (360deg)
the counter2 is for the RPM it must be rested to zero every second
an other issue the counter works only if the wires are blue (integer) and not if they are orange, but my angle value is numeric.
you can chage my input to a boolean swich to test the code.