LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog period Measurement

Solved!
Go to solution

Hello,

I need to measure the frequency of the sinuoidal signal that is acquired using LabVIEW FPGA. I tried to use the block Analog Period Measurement.
The value that i have used are: threshold level 0, hysteresis 0.5.
However, no matter what the frequency, the period is always zero.

I also tried different threshold and hysteresis values, but it was in vain.

I would be grateful if you could be of any help.

Regards, Keshav




0 Kudos
Message 1 of 4
(3,336 Views)

Screenshots:

 

Untitled.pngUntitled2.png

0 Kudos
Message 2 of 4
(3,334 Views)
Solution
Accepted by topic author keshavsew

Hi keshasvew,

 

This function has a valid output signal that only becomes true once per period, so it's likely that you're actually getting a good result, but never seeing it. You will need to add a bit of code on the output that uses the output valid signal to latch the latest valid measurement result. You should also monitor the timeout output, as that will generally stay true if you're not getting any results at all.

OutputLatch.PNG

Message 3 of 4
(3,314 Views)

Hello,

Thank you for your reply.
Tried it. It's working perfectly fine.

Thank you 🙂

Regards,

Keshav

0 Kudos
Message 4 of 4
(3,306 Views)