Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2177

How to handle dropped pulses?

$
0
0

Hi, I am relatively inexperienced in LabVIEW programming. I am using NI USB 6002 to read from a rotary encoder to track shaft angle. I am noticing that sometimes if the computer is busy processing something else and the encoder shaft has been moved, encoder pulses are dropped, resulting in inaccurate angle information. How do I ensure that no pulses are dropped, even if I need to store them in buffer to update the angle later when processing power is available again? I am currently using DAQmx Read in a while loop to read encoder data.

 

Thanks.


Viewing all articles
Browse latest Browse all 2177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>