Hi!
Earlier I got some great help with my program. I'm using a quadrature encoder to measure a motors rotation velocity. Since I couln't get anything else to work, I'm sampling the inputs from the rotary encoder with analog inputs, wich seems to work fine. I get one LED to lit when the motor runs in one direction, and anotherone to lit when the motor is rotating the different way. Now I just need to count the pulses: +1 for each time pulse in one direction, and -1 for each pulse the other way.
I believe that the problem explains itself the best in my attached VI. Hope anyone can be helpful with my big (but simple I guess) problem
🙂