LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why does this freq. meas. vi frequently output zero?

I've searched the forums and learned that the 1-counter-low-frequency vi from the digital frequency measurement library fits my needs (roughly 2500 Hz to 25000 Hz signal freq range, DAQpad-6016 device).  I thought all I needed to add to the example code was a while loop with a delay, and a gauge.
 
But the vi outputs zero fairly often, and I don't see why.  I don't think the input signal is dropping out, so it must be another one of those noobie mistakes I keep making! 
 
I've attached my vi.  Thanks for any insight!
 
 
Jeff
Jeff
Climbing the Labview learning curve!
Sanarus Medical
Pleasanton, CA
0 Kudos
Message 1 of 3
(2,191 Views)
Your code looked good so I connected a TTL frequency generator and tried it out.  No problems or drop-outs here.  I played with varying frequencies for a few minutes, it worked just fine. 
LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 2 of 3
(2,178 Views)

Thanks for the feedback!  I'll focus on investigating the signal rather than debugging a vi that works fine.

 

Jeff

Jeff
Climbing the Labview learning curve!
Sanarus Medical
Pleasanton, CA
0 Kudos
Message 3 of 3
(2,173 Views)