07-22-2015 12:18 PM
Hello everyone,
Sorry for my enquiry if it's too simple problem for you, anyway I am new to LabView. I want to measure rpm of a shaft. Let me describe the setup. I have attached two magnets on either side of the shaft and placed a hall effect sensor near by. In each revolution when north pole passes I get positive volt and when south pole passes it reduced to 0 volt. So i get square signal and each consecutive peak indicates one revolution. Now the thing is that I want to count the peaks lets say 10 peaks (or 10 rev) and the time from 1st peak to 10th peak. then I want to calculate the rpm.
07-23-2015 12:01 PM
Hey fuadhasan,
What DAQ device do you have?
Use a counter task to count the number of pulses. Alternatively, if you can only use a digital input task you can read the line and compare it to the previous reading. If the previous reading was 0 and the new reading is 10V then you can count that as a single pulse.
I hope this helps.