09-06-2006 02:19 PM
09-07-2006 10:00 AM - edited 09-07-2006 10:00 AM
Hi J Bowen,
You won't have to modify the module to use the counters. If you use the J17 or J18 sockets, you will have access to the PFI line 5. You can set this up in software as the counter source and perform counter operations. To set the PFI line as the source for a frequency measurement, you will need to use a DAQmx channel property node and select the counter input >>frequency >>source terminal. I added the property node to the "Meas Dig Frequency - Low Freq 1 Counter" shipping example so you should use something similar to this:
Hope this helps,
Andrew S.
National Instruments
Message Edited by stilly32 on 09-07-2006 10:01 AM
09-15-2006 01:05 PM
I tried that and still can't seem to get it to work. I put the FT01 module in slot J18. Connected the + (Where the pulses are coming from) from my tach to the PFI 5 line (AI Grnd on the FT01 module) and the - from my tach to the AO Gnd. When I run the VI (basically same as yours) I get frequencies very very high (10 MHz). Does this not mean the PFI 5 line has a signal already on it? I also get an error periodically saying that 2 input pulses occured at the same time and to use a faster timebase. I'm using the 20MHz timebase and am assuming that this is from the very high frequency already present on PFI5. Also for my selection of counter in the create channel vi is just Dev1/ctr0. I assume this is fine because I'm changing the counter frequency input terminal to PFI5.
Any suggestions?
Thanks.
09-15-2006 03:58 PM
09-15-2006 04:08 PM
09-18-2006 12:02 PM
09-18-2006 05:18 PM
Hi J Bowen,
Are you doing any other operations with the 6015? It is possible that other timing sources (AO) could be routed to that pin. I would try the measurement without other tasks running to see if that resolves the issue. Also, if it turns out you need access to the other pfi lines, you should be able to access them from the screw terminals on the 2345:
http://digital.ni.com/manuals.nsf/websearch/09FC2D464C3C38A1862571850066A88D
Check pg 27.
Hope this helps, let us know what you find out.
Andrew S.
National Instruments
09-18-2006 05:50 PM
09-19-2006 03:52 PM
Hi J Bowen,
The descriptions of the PFI lines and normal use is actually in that table referenced above. For the counter application, I would use PFI lines 8 or 3 for counters 0 and 1 respectively.
I didn't get the rest of your question, but hopefully you can work from there.
Cheers,
Andrew S.
National Instruments