I am trying to measure the frequency from an encoder signal (TTL level) using the "Meas Dig Frequency-Low Freq 1 Ctr.vi" example vi. I have the signal going to the pfi gate line (ctr 0 gate on a 6036E DAQ). I am expecting signals up to 5000 Hz, but the frequency is measuring at about random values ranging from 125000 Hz to 100000000 Hz. I tried defining a minium pulse width in the DAQmx Time property node, but I get an error stating the "specified proprty is not supported by the device".
When I try to count pulses or pulse widths using othe VIs, I get very random values that do not make sense.
My signals are not that noisy (+/-0.1 V) so why can't I get the counter to count correctly? What signal level is the counter expecting? What signal conditioning do I need to do to the encoder? Is there a DAQmx property that I can change to set/change the threshold?
Dan