02-14-2014 01:32 AM
I am doing this task using sbRIO9642 and sound and vibration signal simulator box (in search of manual) on FPGA
using "TACH OUT " signal from the box so measure the speed to the on board ports of sbrio
I am trying to measure the speed of the fan and here is the code for this
everytime when i run this code
RPM is starting from zero but I want the final value to be displaying....
So that I can use this as a process variable to control the speed of the fan using pid
Solved! Go to Solution.
02-14-2014 02:11 AM
@irfan789 wrote:
RPM is starting from zero but I want the final value to be displaying....
What if you would leave the shift register uninitialized?
02-14-2014 03:24 AM
As Altenbach is implying, since you initialize the shift register it'll start from 0 every time. To start from the last achieved value, use an uninitialized register.
/Y
02-14-2014 04:19 AM
ya got that and error rectified
thanks a lot...