LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can anyone check out where exactly I am going wrong

Solved!
Go to solution

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

 

 

 

0 Kudos
Message 1 of 4
(2,497 Views)
Solution
Accepted by topic author irfan789

@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?

0 Kudos
Message 2 of 4
(2,485 Views)

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

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 4
(2,467 Views)

ya got that and error rectified 

 

thanks a lot...

0 Kudos
Message 4 of 4
(2,450 Views)