Hi Stefan,
first of all, I need more information about your setup:
1. What NI device are you using (device number, E-Series or M-Series,...)?
2. What's the Version of your DAQmx driver (check out My System >> Software in MAX)?
3. What's the Version of your MAX?
4. Which counters did you specify for your tasks?
5. How did you configure your counter tasks (edge count, rising/falling,...)?
6. Which terminal block (to connect your device to the quadratur encoder) are you using?
7. Which Pins on the terminal block did you select (did you choose the right ones)?
Please answer the above questions, so I can be of assistance.
Bye
Daniel
NIG