09-18-2006 11:43 AM
09-19-2006 08:16 AM
Stefan,
I am not sure I understand you correctly, but all of our motion boards read 4 counts for every "notch" on a quadrature encoder. That means there will be 4 counts measured for each set of pulses created by the quadrature encoder. If you are reading these encoders with a DAQ board as a simple pulse train you will see 1 pulse per set of pulses and thus you can explain your discrepancy. It has been a while since I supported DAQ, but I remember that some of the boards allowed you to read quadrature encoders the same way the Motion boards do. I believe there is a shipping example called "Measure Angular Position.vi". If the VI's mode is set to "X4" you should see 4 counts per "notch". If you have a 500 count encoder (i.e. 500 "notches" in your encoder) the Motion boards will read 2000 counts per revolution and likewise you need to set your motion board up in MAX for 2000 counts per revolution (not 500).
Regarding your second question... I have seen that behavior before, but I have not been able to reliably reproduce it. The strange behavior has always gone away once I was able to get all of the settings correct in MAX. Try increasing/decreasing your step size and increasing/decreasing your period to see if this has any effect on the behavior.
Lorne Hengst
Application Engineer
NIC
09-19-2006
08:25 AM
- last edited on
11-07-2025
09:56 AM
by
Content Cleaner
Just a little comment: In fact every M-Series device and all NI counter/timer devices (e. g. the PCI-6601) support X4 decoding.
Best regards,
Jochen Klier
National Instruments Germany
10-09-2006 09:40 AM
10-10-2006 12:39 PM