05-26-2012 06:48 AM
i am trying to measure the rpm of a motor for which i had made a stopwatch which measures the time when the logic goes false, stops as soon as the logic goes true and starts again as the logic goes true. the problem i am having is that i want it to display the time as the logic goes false and reset itself as soon as the logic goes true. i had tried so many things but till now not able to sought the problem. can anybody help me in completing this vi.the vi i had made uses a simulated signal for temperory time being i will connect it with the hardware later on as this problem get solve.
vi attached
Solved! Go to Solution.
05-29-2012 09:26 AM
Is this you wanted to achieve? I have made a slight modification in your code check it.
05-31-2012 12:16 AM
thanks its working perfectly. how can i store the value of maximum time that i get before it restart. because then onlt i will divide 60 with the maximum value and can convert it into rpm.
06-01-2012 02:07 AM
Just take the value coming from the shift register in the True case before making it as 0. That should be your maximum value.
06-02-2012 02:51 AM
how to do that. can you help me in that.
06-02-2012 05:57 AM
Check the attached code for reference.
06-03-2012 12:37 PM
06-04-2012 10:10 PM
06-04-2012 11:02 PM
Try to go through the Basic Materials of LabVIEW where you can see how you can use shift registers.
06-05-2012 01:34 AM
thankyou very ..very...much. i want to accept it as solution but how to do that because i had already accept the previous as solution.