04-15-2011 05:41 AM
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.
04-15-2011 05:59 AM
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