01-27-2026 07:58 AM - edited 01-27-2026 07:59 AM
Hi everyone,
I’m working on a LabVIEW FPGA project where I generate a digital HIGH–LOW signal inside a regular While Loop and want to measure the latency between when the output is generated and when it’s observed.
I tried using the Tick Count / Tick Rate VI on the FPGA to measure this latency, but the values I’m getting don’t make sense — they are inconsistent and don’t match what I see on the CRO.
A few questions:
Why is Tick Count / Tick Rate unreliable for measuring latency on FPGA?
What is the best-practice method to measure FPGA latency deterministically in a While Loop?
Are there any tips for correlating FPGA-measured latency with what I observe on a CRO, given IO and probe delays?
Thanks in advance for any advice!
Solved! Go to Solution.
01-27-2026 08:26 AM
You're going to have to attach code or a picture or both.
01-27-2026 08:44 AM
01-27-2026 11:19 AM
Instead of toggling the boolean each iteration, why not just toggle it once and wait for the input to respond?
01-28-2026 12:45 AM
You are not using FPGA Tick Count VI in your block diagram.
If you want to count using shift register, you need to replace while loop with Single Cycle Timed Loop.
02-03-2026 03:33 AM
iam using counter to find the how many tick does it take to read hing value,and also checking with the tick count vi but getting the diffrence of both value is zero ,before i was running these iam setting the value low at those pins..... the above code is okay wheather i change the code give me some ideas
02-03-2026 03:46 AM
Hi Ajay,
@AJAYY06 wrote:
the above
codeIMAGE of code is okay wheather i change the code give me some ideas
We still cannot debug images with LabVIEW…
But you could cleanup the block diagram, so errors cannot hide so easily!
02-03-2026 07:16 AM - edited 02-03-2026 07:17 AM
YOU CHECK WITH BELOW VI