LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

frequency estimation using labview fpga

hi member


i want to caculate the frequency of the input ttl signal using lab view fpga

how can i do this??

 

 

 

23062013650.JPG

hi ?Q>

0 Kudos
Message 1 of 4
(2,697 Views)

What you want to do is use a Single Cycle Timed Loop to read the signal.  Use a shift register that holds how many cycles have passed since the last rising edge.  On the rising edge, reset the counter and calculate the frequency.  The frequency will be 1/(Numer of Cycles*Cycle Rate).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(2,673 Views)

can you show me the vi plaese>>>???
where i put the counter inside or outside the single loop cycle!!

 

hi ?Q>

0 Kudos
Message 3 of 4
(2,668 Views)

@mangood wrote:

can you show me the vi plaese>>>???
where i put the counter inside or outside the single loop cycle!!

 


I don't have the resources available right now to build this up.  Since you are updating the couter with each cycle, it should be inside of the SCTL.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(2,629 Views)