06-22-2013 05:51 PM
hi member
i want to caculate the frequency of the input ttl signal using lab view fpga
how can i do this??
06-23-2013 04:51 AM
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).
06-23-2013 05:13 AM - edited 06-23-2013 05:39 AM
can you show me the vi plaese>>>???
where i put the counter inside or outside the single loop cycle!!
06-24-2013 07:31 AM
@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.