Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

How to use the function of "DAQmxCreateCIAngEncoderChan" to measure the angular velocity ??

$
0
0

hi all,

I hope to create an ANSI C program to measure the angular velocity of an electric motor by an normal encoder and a NI PCI card pci6251. However, I find that this card can't support the property of "DAQmx_Val_Velocity_AngEncoder" which seems means that the NI SDK only support the function "DAQmxCreateCIAngVelocityChan" but not the function of "DAQmxCreateCIAngEncoderChan" for this device. Oh,so bad...
I hope to use the function of "DAQmxCreateCIAngEncoderChan" to measure the velocity. Because it seems more better than using "edge count" directly. But I don't know how to do it...
Has anyone can give me any tips or advice?

Thanks a lot!
Best Regards


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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