02-01-2012 01:24 PM
Actually, the regular counter works, after I unplug B and N signals.
NI-DAQ is easy to use. There are some many module ready to use, but beacause of that, it is really different to debug. Users have no idea what is going on inside the module, and The documentation helps a little(only a little).
02-01-2012 02:36 PM
The angualr encoder works now.
the default pulse per revolution is 24, but mine is 1024. I change it while program is running which obviously is not the way control component works. I have to change the pulse er revolution, save the code and then run it.
The same as decoding type, which is X4 by default.