LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting Pulses

my  aim is toimplement position control of DC motor,i am using NI USB 6221,to find the position i am using  IR LED  and Photodtector and an encoder wheel ,in which when light is received it counts as one and if not zero,is it possible for me to count the number of pulses and find the position,ihave only the above hardware resources,plese help me

 

 

 

my position Encoder resolution: 5.44mm / pulse.

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

Hi,

 

Use Counter logic to implement above. You will be able to find examples under "Drive:\Program Files\National Instruments\LabVIEW 2010\examples\DAQmx\Counter". Go through the relevant examples and you will get answer.  

 

 

Sriram Iyer

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