Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Capturing frequency with NI 9401 in cDAQ-9172

Solved!
Go to solution

Hello all,

 

I've searched through all of the examples and am finding the same results as my own Labview code. So, I'm going back to my hardware to troubleshoot my problem. I am using a digital tachometer which outputs in pulse with 2 cables (hot and ground). I have connected these to the NI 9401 at PIN 16 for PFI 1 and PIN 3 to ground. When I open up the module through MAX, it reads it out perfectly when hi and lo as well as count properly if placed in slot 5 or 6.

 

However, I try using the Frequency Task in MAX and the task fails to capture anything into the array. I'm getting a timeout error, even if my tach is reading out properly. I've attached my settings for the task. Thank you for any help

Download All
0 Kudos
Message 1 of 2
(4,161 Views)
Solution
Accepted by topic author amacapa

Your samples to read is set to 100.  If all 100 samples aren't available before the timeout is reached you will get a timeout error.  What is the frequency of your input signal?  Maybe just try reading 1 sample on demand first.

 

 

Best Regards,

John Passiak
Message 2 of 2
(4,149 Views)