LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting RPM from Count edges every 10us

Hello,

 

I have a NI 9401 mounted on a cDAQ 9174. I am trying to acquire the RPM of a motor by acquiring a TTL signal. I have tried the count edges method with DAQmx API Count edges. My question is : if I configure DAQmx Timing to Sample Clock and wire 100000 to the Sample rate as well as the number of samples, then configure DAQmx Read in the while loop to Counter Input Multiple Sample, does that means that the samples in the output array are acquired with a rate of 100kHz? That means the time between two samples is 10us? 

 

I know that the formula for getting RPM is number of pulse*60/ppr/time period. In this case, if I wanted to know the RPM for every 10us, does that mean the time period should be 10us?

 

0 Kudos
Message 1 of 1
(2,523 Views)